pub struct Proof {
pub epoch_id: u64,
pub round: u64,
pub epoch_hash: Hash,
pub signature: Bytes,
pub bitmap: Bytes,
}
Fields§
§epoch_id: u64
§round: u64
§epoch_hash: Hash
§signature: Bytes
§bitmap: Bytes
Trait Implementations§
Source§impl FixedCodec for Proof
impl FixedCodec for Proof
fn encode_fixed(&self) -> ProtocolResult<Bytes>
fn decode_fixed(bytes: Bytes) -> ProtocolResult<Self>
impl Eq for Proof
impl StructuralPartialEq for Proof
Auto Trait Implementations§
impl !Freeze for Proof
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnwindSafe for Proof
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