#[repr(C)]pub struct CompactResult {
pub std_dev: f32,
pub mean: f32,
pub slot: u64,
}Fields§
§std_dev: f32The standard deviation of the submissions needed for quorom size
mean: f32The mean of the submissions needed for quorom size
slot: u64The slot at which this value was signed.
Trait Implementations§
Source§impl Clone for CompactResult
impl Clone for CompactResult
impl Copy for CompactResult
Source§impl Debug for CompactResult
impl Debug for CompactResult
impl Pod for CompactResult
Auto Trait Implementations§
impl Freeze for CompactResult
impl RefUnwindSafe for CompactResult
impl Send for CompactResult
impl Sync for CompactResult
impl Unpin for CompactResult
impl UnsafeUnpin for CompactResult
impl UnwindSafe for CompactResult
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.