pub struct Proof {
pub height: u64,
pub round: u64,
pub block_hash: Hash,
pub signature: AggregatedSignature,
}
Expand description
A Proof.
Fields
height: u64
Height of the proof.
round: u64
Round of the proof.
block_hash: Hash
Block hash of the proof.
signature: AggregatedSignature
Aggregated signature of the proof.
Trait Implementations
sourceimpl Decodable for Proof
impl Decodable for Proof
sourcefn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
impl Eq for Proof
impl StructuralEq for Proof
impl StructuralPartialEq for Proof
Auto Trait Implementations
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnwindSafe for Proof
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more