pub struct CodeScanningTool {
pub tool: String,
pub alerts_threshold: AlertsThreshold,
pub security_alerts_threshold: SecurityAlertsThreshold,
}Expand description
A code scanning tool whose results must pass.
Fields§
§tool: StringThe tool’s name.
alerts_threshold: AlertsThresholdThe alert severity that blocks the change.
security_alerts_threshold: SecurityAlertsThresholdThe security alert severity that blocks the change.
Trait Implementations§
Source§impl Clone for CodeScanningTool
impl Clone for CodeScanningTool
Source§fn clone(&self) -> CodeScanningTool
fn clone(&self) -> CodeScanningTool
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodeScanningTool
impl Debug for CodeScanningTool
impl Eq for CodeScanningTool
Source§impl<'ʄ> Facet<'ʄ> for CodeScanningTool
impl<'ʄ> Facet<'ʄ> for CodeScanningTool
Source§impl Ord for CodeScanningTool
impl Ord for CodeScanningTool
Source§fn cmp(&self, other: &CodeScanningTool) -> Ordering
fn cmp(&self, other: &CodeScanningTool) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CodeScanningTool
impl PartialEq for CodeScanningTool
Source§impl PartialOrd for CodeScanningTool
impl PartialOrd for CodeScanningTool
impl StructuralPartialEq for CodeScanningTool
Auto Trait Implementations§
impl Freeze for CodeScanningTool
impl RefUnwindSafe for CodeScanningTool
impl Send for CodeScanningTool
impl Sync for CodeScanningTool
impl Unpin for CodeScanningTool
impl UnsafeUnpin for CodeScanningTool
impl UnwindSafe for CodeScanningTool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.