pub struct MetadataWarning {
pub field: MetadataField,
pub severity: WarningSeverity,
pub reason: String,
pub strippable: bool,
}Expand description
A metadata warning — fields that may expose sensitive information.
Fields§
§field: MetadataField§severity: WarningSeverity§reason: String§strippable: boolWhether this field can be automatically stripped.
Trait Implementations§
Source§impl Clone for MetadataWarning
impl Clone for MetadataWarning
Source§fn clone(&self) -> MetadataWarning
fn clone(&self) -> MetadataWarning
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 MetadataWarning
impl Debug for MetadataWarning
Source§impl<'de> Deserialize<'de> for MetadataWarning
impl<'de> Deserialize<'de> for MetadataWarning
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
Auto Trait Implementations§
impl Freeze for MetadataWarning
impl RefUnwindSafe for MetadataWarning
impl Send for MetadataWarning
impl Sync for MetadataWarning
impl Unpin for MetadataWarning
impl UnsafeUnpin for MetadataWarning
impl UnwindSafe for MetadataWarning
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