pub struct Operation {
pub prefix: Prefix,
pub previous_digest: Digest,
pub body_bytes: u64,
}Expand description
Compact metadata for one hash-validated canonical body retained by the adapter.
This is neither payload ownership nor application-validation evidence.
Fields§
§prefix: PrefixExact contiguous prefix ending at this operation.
previous_digest: DigestDigest of the immediately preceding canonical operation.
body_bytes: u64Canonical body bytes; not compressed, framed, or per-record bytes.
Trait Implementations§
impl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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