pub enum ConfigChangeKind {
Add(ConfigKeyValue),
Set(ConfigKeyValue),
Remove,
}
Variants§
Add(ConfigKeyValue)
Adds an object property or array element.
Set(ConfigKeyValue)
Overwrites an existing value at the provided path.
Remove
Removes the value at the path.
Trait Implementations§
Source§impl Clone for ConfigChangeKind
impl Clone for ConfigChangeKind
Source§fn clone(&self) -> ConfigChangeKind
fn clone(&self) -> ConfigChangeKind
Returns a copy 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 ConfigChangeKind
impl Debug for ConfigChangeKind
Source§impl<'de> Deserialize<'de> for ConfigChangeKind
impl<'de> Deserialize<'de> for ConfigChangeKind
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 ConfigChangeKind
impl RefUnwindSafe for ConfigChangeKind
impl Send for ConfigChangeKind
impl Sync for ConfigChangeKind
impl Unpin for ConfigChangeKind
impl UnwindSafe for ConfigChangeKind
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