Struct bp7::canonical::CanonicalBlock [−][src]
pub struct CanonicalBlock {
pub block_type: CanonicalBlockType,
pub block_number: u64,
pub block_control_flags: BlockControlFlagsType,
pub crc: CrcValue,
// some fields omitted
}
Fields
block_type: CanonicalBlockType
block_number: u64
block_control_flags: BlockControlFlagsType
crc: CrcValue
Implementations
Trait Implementations
Convert block struct to a serializable enum
Deserialize this value from the given Serde deserializer. Read more
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 CanonicalBlock
impl Send for CanonicalBlock
impl Sync for CanonicalBlock
impl Unpin for CanonicalBlock
impl UnwindSafe for CanonicalBlock
Blanket Implementations
Mutably borrows from an owned value. Read more