Struct async_nats::jetstream::kv::Entry
source · pub struct Entry {
pub bucket: String,
pub key: String,
pub value: Bytes,
pub revision: u64,
pub delta: u64,
pub created: OffsetDateTime,
pub operation: Operation,
}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.
Trait Implementations§
Auto Trait Implementations§
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