pub struct CheckpointEpochStatus {
pub epoch: u64,
pub partials_count: u32,
pub threshold: u32,
pub aggregated: bool,
}Expand description
Per-epoch aggregation status.
Fields§
§epoch: u64Epoch number.
partials_count: u32Number of partials received.
threshold: u32Threshold required (2k + 1 where n = validator_count).
aggregated: boolWhether the aggregation succeeded.
Trait Implementations§
Source§impl Clone for CheckpointEpochStatus
impl Clone for CheckpointEpochStatus
Source§fn clone(&self) -> CheckpointEpochStatus
fn clone(&self) -> CheckpointEpochStatus
Returns a duplicate 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 CheckpointEpochStatus
impl Debug for CheckpointEpochStatus
Source§impl<'de> Deserialize<'de> for CheckpointEpochStatus
impl<'de> Deserialize<'de> for CheckpointEpochStatus
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
Auto Trait Implementations§
impl Freeze for CheckpointEpochStatus
impl RefUnwindSafe for CheckpointEpochStatus
impl Send for CheckpointEpochStatus
impl Sync for CheckpointEpochStatus
impl Unpin for CheckpointEpochStatus
impl UnsafeUnpin for CheckpointEpochStatus
impl UnwindSafe for CheckpointEpochStatus
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