#[non_exhaustive]pub struct SdpFinding {
pub info_type: String,
pub likelihood: SdpFindingLikelihood,
pub location: Option<SdpFindingLocation>,
/* private fields */
}Expand description
Finding corresponding to Sensitive Data Protection filter.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.info_type: StringName of Sensitive Data Protection info type for this finding.
likelihood: SdpFindingLikelihoodIdentified confidence likelihood for info_type.
location: Option<SdpFindingLocation>Location for this finding.
Implementations§
Source§impl SdpFinding
impl SdpFinding
pub fn new() -> Self
Sourcepub fn set_info_type<T: Into<String>>(self, v: T) -> Self
pub fn set_info_type<T: Into<String>>(self, v: T) -> Self
Sets the value of info_type.
Sourcepub fn set_likelihood<T: Into<SdpFindingLikelihood>>(self, v: T) -> Self
pub fn set_likelihood<T: Into<SdpFindingLikelihood>>(self, v: T) -> Self
Sets the value of likelihood.
Sourcepub fn set_location<T>(self, v: T) -> Selfwhere
T: Into<SdpFindingLocation>,
pub fn set_location<T>(self, v: T) -> Selfwhere
T: Into<SdpFindingLocation>,
Sets the value of location.
Sourcepub fn set_or_clear_location<T>(self, v: Option<T>) -> Selfwhere
T: Into<SdpFindingLocation>,
pub fn set_or_clear_location<T>(self, v: Option<T>) -> Selfwhere
T: Into<SdpFindingLocation>,
Sets or clears the value of location.
Trait Implementations§
Source§impl Clone for SdpFinding
impl Clone for SdpFinding
Source§fn clone(&self) -> SdpFinding
fn clone(&self) -> SdpFinding
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 SdpFinding
impl Debug for SdpFinding
Source§impl Default for SdpFinding
impl Default for SdpFinding
Source§fn default() -> SdpFinding
fn default() -> SdpFinding
Returns the “default value” for a type. Read more
Source§impl PartialEq for SdpFinding
impl PartialEq for SdpFinding
impl StructuralPartialEq for SdpFinding
Auto Trait Implementations§
impl Freeze for SdpFinding
impl RefUnwindSafe for SdpFinding
impl Send for SdpFinding
impl Sync for SdpFinding
impl Unpin for SdpFinding
impl UnwindSafe for SdpFinding
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