Struct safe_network::messaging::node::OtherSection [−][src]
pub struct OtherSection { pub section_auth: SectionSigned<SectionAuthorityProvider>, pub key_sig: Option<KeyedSig>, }
Expand description
Information on our sibling section
Fields
section_auth: SectionSigned<SectionAuthorityProvider>
Section authority so we know this info was valid
key_sig: Option<KeyedSig>
If this is signed by our section, then key_sig
is None
. If this is signed by our
sibling section, then key_sig
contains the proof of the signing key itself signed by our
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OtherSection
impl Send for OtherSection
impl Sync for OtherSection
impl Unpin for OtherSection
impl UnwindSafe for OtherSection
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
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
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