pub struct CodeScanningPatch {
pub state: Option<SetupState>,
pub languages: Option<Vec<Language>>,
pub runner_type: Option<RunnerType>,
pub runner_label: Option<String>,
pub query_suite: Option<QuerySuite>,
pub threat_model: Option<ThreatModel>,
}Expand description
The managed subset of the code scanning default setup update body.
Fields§
§state: Option<SetupState>Whether default setup runs.
languages: Option<Vec<Language>>The languages to analyze.
runner_type: Option<RunnerType>Where the analysis runs.
runner_label: Option<String>The label of the runner when the runner type is labeled.
query_suite: Option<QuerySuite>The set of queries to run.
threat_model: Option<ThreatModel>The sources treated as untrusted.
Trait Implementations§
Source§impl Clone for CodeScanningPatch
impl Clone for CodeScanningPatch
Source§fn clone(&self) -> CodeScanningPatch
fn clone(&self) -> CodeScanningPatch
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 CodeScanningPatch
impl Debug for CodeScanningPatch
Source§impl Default for CodeScanningPatch
impl Default for CodeScanningPatch
Source§fn default() -> CodeScanningPatch
fn default() -> CodeScanningPatch
Returns the “default value” for a type. Read more
impl Eq for CodeScanningPatch
Source§impl<'ʄ> Facet<'ʄ> for CodeScanningPatch
impl<'ʄ> Facet<'ʄ> for CodeScanningPatch
Source§impl PartialEq for CodeScanningPatch
impl PartialEq for CodeScanningPatch
impl StructuralPartialEq for CodeScanningPatch
Auto Trait Implementations§
impl Freeze for CodeScanningPatch
impl RefUnwindSafe for CodeScanningPatch
impl Send for CodeScanningPatch
impl Sync for CodeScanningPatch
impl Unpin for CodeScanningPatch
impl UnsafeUnpin for CodeScanningPatch
impl UnwindSafe for CodeScanningPatch
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> 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.