pub struct ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection {
pub status: Option<String>,
}Expand description
Use the status property to enable or disable secret scanning push protection for this repository. For more information, see "Protecting pushes with secret scanning."
Fields§
§status: Option<String>Can be enabled or disabled.
Trait Implementations§
Source§impl Clone for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl Clone for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
Source§fn clone(&self) -> ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
fn clone(&self) -> ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl Default for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
Source§fn default() -> ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
fn default() -> ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl<'de> Deserialize<'de> for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl PartialEq for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
Source§fn eq(
&self,
other: &ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection,
) -> bool
fn eq( &self, other: &ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
Auto Trait Implementations§
impl Freeze for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl RefUnwindSafe for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl Send for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl Sync for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl Unpin for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
impl UnwindSafe for ReposownerrepoSecurityAndAnalysisSecretScanningPushProtection
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