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: StringName of the bucket the entry is in.
key: StringThe key that was retrieved.
value: BytesThe value that was retrieved.
revision: u64A unique sequence for this value.
delta: u64Distance from the latest value.
created: OffsetDateTimeThe time the data was put in the bucket.
operation: OperationThe kind of operation that caused this entry.
seen_current: boolSet 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