pub struct AnalysisPatch {
pub advanced_security: Option<StatusBody>,
pub code_security: Option<StatusBody>,
pub secret_scanning: Option<StatusBody>,
pub secret_scanning_push_protection: Option<StatusBody>,
pub secret_scanning_ai_detection: Option<StatusBody>,
pub secret_scanning_non_provider_patterns: Option<StatusBody>,
pub secret_scanning_delegated_alert_dismissal: Option<StatusBody>,
pub secret_scanning_delegated_bypass: Option<StatusBody>,
pub secret_scanning_delegated_bypass_options: Option<ReviewersBody>,
}Expand description
The managed subset of the security_and_analysis update body.
An omitted property leaves the live value alone.
Fields§
§advanced_security: Option<StatusBody>GitHub Advanced Security.
code_security: Option<StatusBody>GitHub Code Security.
secret_scanning: Option<StatusBody>Secret scanning.
secret_scanning_push_protection: Option<StatusBody>Secret scanning push protection.
secret_scanning_ai_detection: Option<StatusBody>AI detection of generic secrets.
secret_scanning_non_provider_patterns: Option<StatusBody>Scanning for non-provider patterns.
secret_scanning_delegated_alert_dismissal: Option<StatusBody>Delegated dismissal of secret scanning alerts.
secret_scanning_delegated_bypass: Option<StatusBody>Delegated bypass of push protection.
secret_scanning_delegated_bypass_options: Option<ReviewersBody>The reviewers for delegated bypass.
Implementations§
Trait Implementations§
Source§impl Clone for AnalysisPatch
impl Clone for AnalysisPatch
Source§fn clone(&self) -> AnalysisPatch
fn clone(&self) -> AnalysisPatch
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 AnalysisPatch
impl Debug for AnalysisPatch
Source§impl Default for AnalysisPatch
impl Default for AnalysisPatch
Source§fn default() -> AnalysisPatch
fn default() -> AnalysisPatch
Returns the “default value” for a type. Read more
impl Eq for AnalysisPatch
Source§impl<'ʄ> Facet<'ʄ> for AnalysisPatch
impl<'ʄ> Facet<'ʄ> for AnalysisPatch
Source§impl PartialEq for AnalysisPatch
impl PartialEq for AnalysisPatch
impl StructuralPartialEq for AnalysisPatch
Auto Trait Implementations§
impl Freeze for AnalysisPatch
impl RefUnwindSafe for AnalysisPatch
impl Send for AnalysisPatch
impl Sync for AnalysisPatch
impl Unpin for AnalysisPatch
impl UnsafeUnpin for AnalysisPatch
impl UnwindSafe for AnalysisPatch
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.