#[non_exhaustive]pub struct SecurityProjection {
pub details: Option<Struct>,
/* private fields */
}Expand description
Contains various ways of describing the impact on Security.
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.details: Option<Struct>Additional security impact details that is provided by the recommender.
Implementations§
Source§impl SecurityProjection
impl SecurityProjection
Sourcepub fn set_details<T>(self, v: T) -> Self
pub fn set_details<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_details<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_details<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for SecurityProjection
impl Clone for SecurityProjection
Source§fn clone(&self) -> SecurityProjection
fn clone(&self) -> SecurityProjection
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 SecurityProjection
impl Debug for SecurityProjection
Source§impl Default for SecurityProjection
impl Default for SecurityProjection
Source§fn default() -> SecurityProjection
fn default() -> SecurityProjection
Returns the “default value” for a type. Read more
Source§impl Message for SecurityProjection
impl Message for SecurityProjection
Source§impl PartialEq for SecurityProjection
impl PartialEq for SecurityProjection
impl StructuralPartialEq for SecurityProjection
Auto Trait Implementations§
impl Freeze for SecurityProjection
impl RefUnwindSafe for SecurityProjection
impl Send for SecurityProjection
impl Sync for SecurityProjection
impl Unpin for SecurityProjection
impl UnsafeUnpin for SecurityProjection
impl UnwindSafe for SecurityProjection
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