pub struct Rec {
pub ts_nanos: u64,
pub shard_id: u32,
pub local_seq: u64,
pub schema_idx: usize,
pub fields: Bytes,
}Expand description
One decoded record, attributed to a schema within its Loaded dump.
Fields§
§ts_nanos: u64§shard_id: u32§local_seq: u64Position within the shard, oldest-first — the per-shard local_seq.
schema_idx: usizeIndex into the owning Loaded::schemas.
fields: BytesThe event’s raw field bytes (length equals the schema’s record_size). A cheap refcounted
slice into the dump’s reconstructed-payload arena — cloning it bumps a count, not the heap.
Auto Trait Implementations§
impl !Freeze for Rec
impl RefUnwindSafe for Rec
impl Send for Rec
impl Sync for Rec
impl Unpin for Rec
impl UnsafeUnpin for Rec
impl UnwindSafe for Rec
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more