#[non_exhaustive]pub struct Remediation {
pub kind: RemediationKind,
pub value: String,
pub note: String,
}Expand description
One suggested change, with the reason it is being suggested.
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.kind: RemediationKindWhich kind of change this is.
value: StringThe host pattern to add, or the flag name to set.
note: StringWhy this entry is offered, phrased for a human reading a log.
Trait Implementations§
Source§impl Clone for Remediation
impl Clone for Remediation
Source§fn clone(&self) -> Remediation
fn clone(&self) -> Remediation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Remediation
impl Debug for Remediation
impl Eq for Remediation
Source§impl PartialEq for Remediation
impl PartialEq for Remediation
Source§fn eq(&self, other: &Remediation) -> bool
fn eq(&self, other: &Remediation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Remediation
impl Serialize for Remediation
impl StructuralPartialEq for Remediation
Auto Trait Implementations§
impl Freeze for Remediation
impl RefUnwindSafe for Remediation
impl Send for Remediation
impl Sync for Remediation
impl Unpin for Remediation
impl UnsafeUnpin for Remediation
impl UnwindSafe for Remediation
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