pub struct ChangeNotification {
pub key: String,
pub change_type: ChangeType,
pub old_value: Option<String>,
pub new_value: Option<String>,
pub version: u64,
pub timestamp: u64,
}Expand description
Notification about a change in the store
Fields§
§key: String§change_type: ChangeType§old_value: Option<String>§new_value: Option<String>§version: u64§timestamp: u64Trait Implementations§
Source§impl Clone for ChangeNotification
impl Clone for ChangeNotification
Source§fn clone(&self) -> ChangeNotification
fn clone(&self) -> ChangeNotification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChangeNotification
impl Debug for ChangeNotification
Source§impl<'de> Deserialize<'de> for ChangeNotification
impl<'de> Deserialize<'de> for ChangeNotification
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 ChangeNotification
impl RefUnwindSafe for ChangeNotification
impl Send for ChangeNotification
impl Sync for ChangeNotification
impl Unpin for ChangeNotification
impl UnsafeUnpin for ChangeNotification
impl UnwindSafe for ChangeNotification
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