pub enum Joiner {
NewPerson {
name: String,
},
MemberKeys,
}Expand description
Who asks to join through an invite (§13.2): one of two, as the invite admits. A member’s own new device asks through an add-device pairing instead, which the format’s request can say and an invite never takes.
Variants§
NewPerson
A new person, with the name they typed: the admin sees it with the request, and the admission records it for the app’s joining write.
MemberKeys
An existing member getting new keys, whose profile already has a name.
Implementations§
Source§impl Joiner
impl Joiner
Sourcepub fn admits(&self) -> InviteAdmits
pub fn admits(&self) -> InviteAdmits
What the invite this joiner answers admits.
Source§impl Joiner
impl Joiner
Sourcepub fn requesting(self, circle: JoiningCircle) -> Joiner
pub fn requesting(self, circle: JoiningCircle) -> Joiner
The format’s joiner of a request that makes circle.
Trait Implementations§
impl Eq for Joiner
impl StructuralPartialEq for Joiner
Auto Trait Implementations§
impl Freeze for Joiner
impl RefUnwindSafe for Joiner
impl Send for Joiner
impl Sync for Joiner
impl Unpin for Joiner
impl UnsafeUnpin for Joiner
impl UnwindSafe for Joiner
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.