pub struct SecretOccurrence {
pub kind: Option<String>,
pub locations: Option<Vec<SecretLocation>>,
pub statuses: Option<Vec<SecretStatus>>,
}Expand description
The occurrence provides details of a secret.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kind: Option<String>Required. Type of secret.
locations: Option<Vec<SecretLocation>>Optional. Locations where the secret is detected.
statuses: Option<Vec<SecretStatus>>Optional. Status of the secret.
Trait Implementations§
Source§impl Clone for SecretOccurrence
impl Clone for SecretOccurrence
Source§fn clone(&self) -> SecretOccurrence
fn clone(&self) -> SecretOccurrence
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 SecretOccurrence
impl Debug for SecretOccurrence
Source§impl Default for SecretOccurrence
impl Default for SecretOccurrence
Source§fn default() -> SecretOccurrence
fn default() -> SecretOccurrence
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretOccurrence
impl<'de> Deserialize<'de> for SecretOccurrence
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 Serialize for SecretOccurrence
impl Serialize for SecretOccurrence
impl Part for SecretOccurrence
Auto Trait Implementations§
impl Freeze for SecretOccurrence
impl RefUnwindSafe for SecretOccurrence
impl Send for SecretOccurrence
impl Sync for SecretOccurrence
impl Unpin for SecretOccurrence
impl UnwindSafe for SecretOccurrence
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