pub struct ModificationWarning {
pub field: String,
pub message: String,
}Expand description
Warning emitted while planning a modification.
Fields§
§field: StringField associated with the warning.
message: StringHuman-readable warning description.
Trait Implementations§
Source§impl Clone for ModificationWarning
impl Clone for ModificationWarning
Source§fn clone(&self) -> ModificationWarning
fn clone(&self) -> ModificationWarning
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 ModificationWarning
impl Debug for ModificationWarning
Source§impl<'de> Deserialize<'de> for ModificationWarning
impl<'de> Deserialize<'de> for ModificationWarning
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
impl Eq for ModificationWarning
Source§impl PartialEq for ModificationWarning
impl PartialEq for ModificationWarning
Source§fn eq(&self, other: &ModificationWarning) -> bool
fn eq(&self, other: &ModificationWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModificationWarning
impl Serialize for ModificationWarning
impl StructuralPartialEq for ModificationWarning
Auto Trait Implementations§
impl Freeze for ModificationWarning
impl RefUnwindSafe for ModificationWarning
impl Send for ModificationWarning
impl Sync for ModificationWarning
impl Unpin for ModificationWarning
impl UnsafeUnpin for ModificationWarning
impl UnwindSafe for ModificationWarning
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