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: StringName of the bucket the entry is in.
key: StringThe key that was retrieved.
value: Vec<u8>The 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.