pub struct ConfigurationChangedEvent {
pub key: String,
pub old_value: Option<String>,
pub new_value: String,
pub timestamp: SystemTime,
}Expand description
Event fired when configuration is changed at runtime
This event is published when configuration values are updated after the initial context setup.
Fields§
§key: StringThe configuration key that was changed
old_value: Option<String>The old value (if any)
new_value: StringThe new value
timestamp: SystemTimeChange timestamp
Trait Implementations§
Source§impl Clone for ConfigurationChangedEvent
impl Clone for ConfigurationChangedEvent
Source§fn clone(&self) -> ConfigurationChangedEvent
fn clone(&self) -> ConfigurationChangedEvent
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 ConfigurationChangedEvent
impl Debug for ConfigurationChangedEvent
Source§impl Event for ConfigurationChangedEvent
impl Event for ConfigurationChangedEvent
Auto Trait Implementations§
impl Freeze for ConfigurationChangedEvent
impl RefUnwindSafe for ConfigurationChangedEvent
impl Send for ConfigurationChangedEvent
impl Sync for ConfigurationChangedEvent
impl Unpin for ConfigurationChangedEvent
impl UnsafeUnpin for ConfigurationChangedEvent
impl UnwindSafe for ConfigurationChangedEvent
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