pub struct ReputationStatistics {
pub total_authorities: usize,
pub avg_reputation: f64,
pub min_reputation: f64,
pub max_reputation: f64,
pub byzantine_count: usize,
pub trustworthy_count: usize,
}Expand description
Reputation statistics
Fields§
§avg_reputation: f64§min_reputation: f64§max_reputation: f64§byzantine_count: usize§trustworthy_count: usizeTrait Implementations§
Source§impl Clone for ReputationStatistics
impl Clone for ReputationStatistics
Source§fn clone(&self) -> ReputationStatistics
fn clone(&self) -> ReputationStatistics
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 ReputationStatistics
impl Debug for ReputationStatistics
Source§impl<'de> Deserialize<'de> for ReputationStatistics
impl<'de> Deserialize<'de> for ReputationStatistics
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 ReputationStatistics
impl RefUnwindSafe for ReputationStatistics
impl Send for ReputationStatistics
impl Sync for ReputationStatistics
impl Unpin for ReputationStatistics
impl UnwindSafe for ReputationStatistics
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