Struct persist::indexed::encoding::UnsealedBatchMeta [−][src]
pub struct UnsealedBatchMeta {
pub key: String,
pub format: ProtoBatchFormat,
pub desc: Range<SeqNo>,
pub ts_upper: u64,
pub ts_lower: u64,
pub size_bytes: u64,
}
Expand description
The metadata necessary to reconstruct a BlobUnsealedBatch.
Invariants:
- The [lower, upper) interval of sequence numbers in desc is non-empty.
Fields
key: String
The key to retrieve the BlobUnsealedBatch from blob storage.
format: ProtoBatchFormat
The format of the stored batch data.
desc: Range<SeqNo>
Half-open interval [lower, upper) of sequence numbers that this batch contains updates for.
ts_upper: u64
The maximum timestamp of any update contained in this batch.
ts_lower: u64
The minimum timestamp from any update contained in this batch.
size_bytes: u64
Size of the encoded batch.
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UnsealedBatchMeta
impl Send for UnsealedBatchMeta
impl Sync for UnsealedBatchMeta
impl Unpin for UnsealedBatchMeta
impl UnwindSafe for UnsealedBatchMeta
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more