pub struct ConsensusReport {
pub head: BlockHeader,
pub cid: Vec<u8>,
pub activated_vault_report: NewSnapshotVaultActivatedReport,
pub id_cursor_report: IdCursorReport,
pub withdrawal_counter_report: WithdrawalCounterReport,
}
Fields§
§head: BlockHeader
§cid: Vec<u8>
§activated_vault_report: NewSnapshotVaultActivatedReport
§id_cursor_report: IdCursorReport
§withdrawal_counter_report: WithdrawalCounterReport
Trait Implementations§
source§impl Clone for ConsensusReport
impl Clone for ConsensusReport
source§fn clone(&self) -> ConsensusReport
fn clone(&self) -> ConsensusReport
Returns a copy of the value. Read more
1.0.0 · 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 ConsensusReport
impl Debug for ConsensusReport
source§impl<'de> Deserialize<'de> for ConsensusReport
impl<'de> Deserialize<'de> for ConsensusReport
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<CandidConsensusReport> for ConsensusReport
impl From<CandidConsensusReport> for ConsensusReport
source§fn from(candid_consensus_report: CandidConsensusReport) -> Self
fn from(candid_consensus_report: CandidConsensusReport) -> Self
Converts to this type from the input type.
source§impl Ord for ConsensusReport
impl Ord for ConsensusReport
source§fn cmp(&self, other: &ConsensusReport) -> Ordering
fn cmp(&self, other: &ConsensusReport) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ConsensusReport
impl PartialEq for ConsensusReport
source§fn eq(&self, other: &ConsensusReport) -> bool
fn eq(&self, other: &ConsensusReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConsensusReport
impl PartialOrd for ConsensusReport
source§fn partial_cmp(&self, other: &ConsensusReport) -> Option<Ordering>
fn partial_cmp(&self, other: &ConsensusReport) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ConsensusReport
impl Serialize for ConsensusReport
source§impl Storable for ConsensusReport
impl Storable for ConsensusReport
source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes
, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl Eq for ConsensusReport
impl StructuralPartialEq for ConsensusReport
Auto Trait Implementations§
impl Freeze for ConsensusReport
impl RefUnwindSafe for ConsensusReport
impl Send for ConsensusReport
impl Sync for ConsensusReport
impl Unpin for ConsensusReport
impl UnwindSafe for ConsensusReport
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