pub struct SettingsWriteChange {
pub key: String,
pub current: Value,
pub proposed: Value,
pub unset: bool,
}Expand description
One key’s change in a held write.
Fields§
§key: StringThe concrete catalogue path the change names.
current: ValueThe value the key stands at now; null when it is unset.
proposed: ValueThe value the change would leave; null when it clears the key.
unset: boolWhether the change clears the key rather than setting it.
Trait Implementations§
Source§impl Clone for SettingsWriteChange
impl Clone for SettingsWriteChange
Source§impl Debug for SettingsWriteChange
impl Debug for SettingsWriteChange
Source§impl<'de> Deserialize<'de> for SettingsWriteChange
impl<'de> Deserialize<'de> for SettingsWriteChange
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
Source§impl PartialEq for SettingsWriteChange
impl PartialEq for SettingsWriteChange
Source§impl Serialize for SettingsWriteChange
impl Serialize for SettingsWriteChange
impl StructuralPartialEq for SettingsWriteChange
Auto Trait Implementations§
impl Freeze for SettingsWriteChange
impl RefUnwindSafe for SettingsWriteChange
impl Send for SettingsWriteChange
impl Sync for SettingsWriteChange
impl Unpin for SettingsWriteChange
impl UnsafeUnpin for SettingsWriteChange
impl UnwindSafe for SettingsWriteChange
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