#[non_exhaustive]pub struct FieldChange {
pub field: String,
pub old: String,
pub new: String,
}Expand description
A change to one scalar of the lock header or of an entry.
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.field: StringField name as in the lock file.
old: StringValue in the old lock.
new: StringValue in the new lock.
Trait Implementations§
Source§impl Clone for FieldChange
impl Clone for FieldChange
Source§impl Debug for FieldChange
impl Debug for FieldChange
impl Eq for FieldChange
Source§impl PartialEq for FieldChange
impl PartialEq for FieldChange
Source§impl Serialize for FieldChange
impl Serialize for FieldChange
impl StructuralPartialEq for FieldChange
Auto Trait Implementations§
impl Forget for FieldChange
impl Freeze for FieldChange
impl Move for FieldChange
impl RefUnwindSafe for FieldChange
impl Send for FieldChange
impl Sync for FieldChange
impl Unpin for FieldChange
impl UnsafeUnpin for FieldChange
impl UnwindSafe for FieldChange
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