pub struct Admitted {
pub community_id: CommunityId,
pub member_id: MemberId,
pub state: MembershipState,
pub descriptor: Option<SignedJson>,
pub delegation: Option<SignedJson>,
pub cursors: Cursors,
}Expand description
invite.redeem and membership.request response (§8.6, §8.9: the same shape).
Fields§
§community_id: CommunityIdThe community the member joined or requested to join.
member_id: MemberIdThe new member id.
state: MembershipStatepending, probation or active.
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.
cursors: CursorsInitial cursors.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Admitted
impl<'de> Deserialize<'de> for Admitted
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 Admitted
impl StructuralPartialEq for Admitted
Auto Trait Implementations§
impl Freeze for Admitted
impl RefUnwindSafe for Admitted
impl Send for Admitted
impl Sync for Admitted
impl Unpin for Admitted
impl UnsafeUnpin for Admitted
impl UnwindSafe for Admitted
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