pub struct BlockRecord {
pub block_index: u64,
pub kind: BlockKind,
pub flags: u8,
pub payload: Vec<u8>,
pub record_crc32c: u32,
}Fields§
§block_index: u64§kind: BlockKind§flags: u8§payload: Vec<u8>§record_crc32c: u32Implementations§
Trait Implementations§
Source§impl Clone for BlockRecord
impl Clone for BlockRecord
Source§fn clone(&self) -> BlockRecord
fn clone(&self) -> BlockRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockRecord
impl Debug for BlockRecord
Source§impl PartialEq for BlockRecord
impl PartialEq for BlockRecord
Source§fn eq(&self, other: &BlockRecord) -> bool
fn eq(&self, other: &BlockRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BlockRecord
impl StructuralPartialEq for BlockRecord
Auto Trait Implementations§
impl Freeze for BlockRecord
impl RefUnwindSafe for BlockRecord
impl Send for BlockRecord
impl Sync for BlockRecord
impl Unpin for BlockRecord
impl UnsafeUnpin for BlockRecord
impl UnwindSafe for BlockRecord
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