Struct fbas_analyzer::PrettyQuorumSet
source · pub struct PrettyQuorumSet {
pub threshold: u64,
pub validators: Vec<String>,
pub inner_quorum_sets: Vec<PrettyQuorumSet>,
}
Fields§
§threshold: u64
§validators: Vec<String>
§inner_quorum_sets: Vec<PrettyQuorumSet>
Trait Implementations§
source§impl Debug for PrettyQuorumSet
impl Debug for PrettyQuorumSet
source§impl Default for PrettyQuorumSet
impl Default for PrettyQuorumSet
source§fn default() -> PrettyQuorumSet
fn default() -> PrettyQuorumSet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PrettyQuorumSet
impl<'de> Deserialize<'de> for PrettyQuorumSet
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 PartialEq for PrettyQuorumSet
impl PartialEq for PrettyQuorumSet
source§fn eq(&self, other: &PrettyQuorumSet) -> bool
fn eq(&self, other: &PrettyQuorumSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrettyQuorumSet
impl Serialize for PrettyQuorumSet
impl StructuralPartialEq for PrettyQuorumSet
Auto Trait Implementations§
impl RefUnwindSafe for PrettyQuorumSet
impl Send for PrettyQuorumSet
impl Sync for PrettyQuorumSet
impl Unpin for PrettyQuorumSet
impl UnwindSafe for PrettyQuorumSet
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