Struct safe_network::messaging::system::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
Members 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.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more