pub struct Entry {
pub bucket: String,
pub key: String,
pub value: Bytes,
pub revision: u64,
pub delta: u64,
pub created: OffsetDateTime,
pub operation: Operation,
pub seen_current: bool,
}
Expand description
An entry in a key-value bucket.
Fields§
§bucket: String
Name of the bucket the entry is in.
key: String
The key that was retrieved.
value: Bytes
The value that was retrieved.
revision: u64
A unique sequence for this value.
delta: u64
Distance from the latest value.
created: OffsetDateTime
The time the data was put in the bucket.
operation: Operation
The kind of operation that caused this entry.
seen_current: bool
Set to true after all historical messages have been received, and now all Entries are the new ones.
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl !Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)