pub struct CodeScanning {
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
Desired code scanning default setup.
Fields§
§state: Option<SetupState>Whether default setup runs. Null leaves it alone.
languages: Option<Vec<Language>>The languages to analyze. Null leaves it alone.
runner_type: Option<RunnerType>Where the analysis runs. Null leaves it alone.
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. Null leaves it alone.
threat_model: Option<ThreatModel>The sources treated as untrusted. Null leaves it alone.
Trait Implementations§
Source§impl Clone for CodeScanning
impl Clone for CodeScanning
Source§fn clone(&self) -> CodeScanning
fn clone(&self) -> CodeScanning
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 CodeScanning
impl Debug for CodeScanning
impl Eq for CodeScanning
Source§impl<'ʄ> Facet<'ʄ> for CodeScanning
impl<'ʄ> Facet<'ʄ> for CodeScanning
Source§impl PartialEq for CodeScanning
impl PartialEq for CodeScanning
impl StructuralPartialEq for CodeScanning
Auto Trait Implementations§
impl Freeze for CodeScanning
impl RefUnwindSafe for CodeScanning
impl Send for CodeScanning
impl Sync for CodeScanning
impl Unpin for CodeScanning
impl UnsafeUnpin for CodeScanning
impl UnwindSafe for CodeScanning
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.