pub struct CommunitySnapshot {
pub profile: CommunityProfile,
pub descriptor: Option<SignedJson>,
pub delegation: Option<SignedJson>,
pub member: Member,
}Expand description
The single item of part: "community" (§10.1).
SPEC: the item’s field names are not given (“profile, descriptor, delegation, the
member’s own member object”); profile, descriptor, delegation, member are used.
Fields§
§profile: CommunityProfileHost-managed profile.
descriptor: Option<SignedJson>Signed descriptor; absent when it is the one the session’s welcome gave or confirmed (§6.2).
delegation: Option<SignedJson>Signed delegation; absent with the descriptor.
member: MemberThe member’s own member object.
Trait Implementations§
Source§impl Clone for CommunitySnapshot
impl Clone for CommunitySnapshot
Source§fn clone(&self) -> CommunitySnapshot
fn clone(&self) -> CommunitySnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommunitySnapshot
impl Debug for CommunitySnapshot
Source§impl<'de> Deserialize<'de> for CommunitySnapshot
impl<'de> Deserialize<'de> for CommunitySnapshot
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
impl Eq for CommunitySnapshot
Source§impl PartialEq for CommunitySnapshot
impl PartialEq for CommunitySnapshot
Source§impl Serialize for CommunitySnapshot
impl Serialize for CommunitySnapshot
impl StructuralPartialEq for CommunitySnapshot
Auto Trait Implementations§
impl Freeze for CommunitySnapshot
impl RefUnwindSafe for CommunitySnapshot
impl Send for CommunitySnapshot
impl Sync for CommunitySnapshot
impl Unpin for CommunitySnapshot
impl UnsafeUnpin for CommunitySnapshot
impl UnwindSafe for CommunitySnapshot
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