pub struct Prefix {
pub op: OpNumber,
pub digest: Digest,
}Expand description
Exact canonical group prefix. Zero with the zero digest is genesis.
Fields§
§op: OpNumberLast operation in the contiguous prefix.
digest: DigestCanonical chain digest at that operation.
Implementations§
Trait Implementations§
impl Copy for Prefix
impl Eq for Prefix
impl StructuralPartialEq for Prefix
Auto Trait Implementations§
impl Freeze for Prefix
impl RefUnwindSafe for Prefix
impl Send for Prefix
impl Sync for Prefix
impl Unpin for Prefix
impl UnsafeUnpin for Prefix
impl UnwindSafe for Prefix
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