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