Struct safe_network::messaging::node::Section [−][src]
pub struct Section { pub genesis_key: BlsPublicKey, pub chain: SecuredLinkedList, pub section_auth: SectionAuth<SectionAuthorityProvider>, pub members: SectionPeers, }
Expand description
Container for storing information about a section. All information about a section
Fields
genesis_key: BlsPublicKey
network genesis key
chain: SecuredLinkedList
The secured linked list of previous section keys
section_auth: SectionAuth<SectionAuthorityProvider>
Signed section authority
members: SectionPeers
memebers of the section
Trait Implementations
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 RefUnwindSafe for Section
impl UnwindSafe for Section
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self