pub struct KeyNotification {
pub key: Vec<u8>,
pub operation: Operation,
pub version: HybridLogicalClock,
}
Expand description
A notification about a state change on a key in the State Store Service
Fields§
§key: Vec<u8>
The Key that this notification is for
operation: Operation
The Operation
that was performed on the key
version: HybridLogicalClock
The version of the key as a HybridLogicalClock
.
Trait Implementations§
Source§impl Clone for KeyNotification
impl Clone for KeyNotification
Source§fn clone(&self) -> KeyNotification
fn clone(&self) -> KeyNotification
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 moreAuto Trait Implementations§
impl Freeze for KeyNotification
impl RefUnwindSafe for KeyNotification
impl Send for KeyNotification
impl Sync for KeyNotification
impl Unpin for KeyNotification
impl UnwindSafe for KeyNotification
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