pub struct ConfigChange {
pub key: String,
pub old_value: Option<ConfigValue>,
pub new_value: ConfigValue,
pub timestamp: SystemTime,
pub changed_by: String,
}Expand description
Represents a configuration change event
Fields§
§key: StringThe configuration key that changed
old_value: Option<ConfigValue>The previous value (None if the key was newly created)
new_value: ConfigValueThe new value
timestamp: SystemTimeWhen the change occurred
changed_by: StringWho or what caused the change
Trait Implementations§
Source§impl Clone for ConfigChange
impl Clone for ConfigChange
Source§fn clone(&self) -> ConfigChange
fn clone(&self) -> ConfigChange
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 ConfigChange
impl Debug for ConfigChange
Source§impl<'de> Deserialize<'de> for ConfigChange
impl<'de> Deserialize<'de> for ConfigChange
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 ConfigChange
impl RefUnwindSafe for ConfigChange
impl Send for ConfigChange
impl Sync for ConfigChange
impl Unpin for ConfigChange
impl UnwindSafe for ConfigChange
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