pub struct ConfigDiff {
pub field: String,
pub old_value: Value,
pub new_value: Value,
}Expand description
Describes a single field-level change between two IndexerConfig values.
Fields§
§field: StringThe name of the field that changed.
old_value: ValueThe previous value (serialized as JSON).
new_value: ValueThe new value (serialized as JSON).
Trait Implementations§
Source§impl Clone for ConfigDiff
impl Clone for ConfigDiff
Source§fn clone(&self) -> ConfigDiff
fn clone(&self) -> ConfigDiff
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 ConfigDiff
impl Debug for ConfigDiff
Source§impl<'de> Deserialize<'de> for ConfigDiff
impl<'de> Deserialize<'de> for ConfigDiff
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 ConfigDiff
impl RefUnwindSafe for ConfigDiff
impl Send for ConfigDiff
impl Sync for ConfigDiff
impl Unpin for ConfigDiff
impl UnsafeUnpin for ConfigDiff
impl UnwindSafe for ConfigDiff
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