Struct sn_messaging::section_info::SectionInfo [−][src]
pub struct SectionInfo { pub prefix: Prefix, pub pk_set: ReplicaPublicKeySet, pub elders: BTreeMap<XorName, SocketAddr>, pub joins_allowed: bool, }
All the info a client needs about their section
Fields
prefix: Prefix
Prefix of the section.
pk_set: ReplicaPublicKeySet
Public key set of the section.
elders: BTreeMap<XorName, SocketAddr>
Section elders.
joins_allowed: bool
Whether the section is allowed to taking new joining node.
Trait Implementations
impl Clone for SectionInfo
[src]
impl Clone for SectionInfo
[src]fn clone(&self) -> SectionInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for SectionInfo
[src]
impl<'de> Deserialize<'de> for SectionInfo
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for SectionInfo
[src]
impl Eq for SectionInfo
[src]impl Hash for SectionInfo
[src]
impl Hash for SectionInfo
[src]impl Ord for SectionInfo
[src]
impl Ord for SectionInfo
[src]impl PartialEq<SectionInfo> for SectionInfo
[src]
impl PartialEq<SectionInfo> for SectionInfo
[src]fn eq(&self, other: &SectionInfo) -> bool
[src]
fn ne(&self, other: &SectionInfo) -> bool
[src]
impl PartialOrd<SectionInfo> for SectionInfo
[src]
impl PartialOrd<SectionInfo> for SectionInfo
[src]impl Serialize for SectionInfo
[src]
impl Serialize for SectionInfo
[src]impl StructuralEq for SectionInfo
[src]
impl StructuralEq for SectionInfo
[src]impl StructuralPartialEq for SectionInfo
[src]
impl StructuralPartialEq for SectionInfo
[src]Auto Trait Implementations
impl RefUnwindSafe for SectionInfo
impl RefUnwindSafe for SectionInfo
impl Send for SectionInfo
impl Send for SectionInfo
impl Sync for SectionInfo
impl Sync for SectionInfo
impl Unpin for SectionInfo
impl Unpin for SectionInfo
impl UnwindSafe for SectionInfo
impl UnwindSafe for SectionInfo
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,