pub struct SecretScanningLocation {
pub type: Option<Type>,
pub details: Option<Box<SecretScanningLocationDetails>>,
}Fields§
§type: Option<Type>The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.
details: Option<Box<SecretScanningLocationDetails>>Implementations§
Source§impl SecretScanningLocation
impl SecretScanningLocation
pub fn new() -> SecretScanningLocation
Trait Implementations§
Source§impl Clone for SecretScanningLocation
impl Clone for SecretScanningLocation
Source§fn clone(&self) -> SecretScanningLocation
fn clone(&self) -> SecretScanningLocation
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 Debug for SecretScanningLocation
impl Debug for SecretScanningLocation
Source§impl Default for SecretScanningLocation
impl Default for SecretScanningLocation
Source§fn default() -> SecretScanningLocation
fn default() -> SecretScanningLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretScanningLocation
impl<'de> Deserialize<'de> for SecretScanningLocation
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 SecretScanningLocation
impl PartialEq for SecretScanningLocation
Source§impl Serialize for SecretScanningLocation
impl Serialize for SecretScanningLocation
impl StructuralPartialEq for SecretScanningLocation
Auto Trait Implementations§
impl Freeze for SecretScanningLocation
impl RefUnwindSafe for SecretScanningLocation
impl Send for SecretScanningLocation
impl Sync for SecretScanningLocation
impl Unpin for SecretScanningLocation
impl UnwindSafe for SecretScanningLocation
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