pub struct JoinRequest {
pub invite: InviteId,
pub member: MemberId,
pub keys: MemberPublicKeys,
pub device: DeviceId,
pub device_name: String,
pub joiner: Joiner,
}Expand description
A new person’s request, encrypted with the invite-derived key and signed (§13.2).
Fields§
§invite: InviteIdThe invite this request answers.
member: MemberIdThe member id fixed by the invite: fresh for an addition, or the existing member’s for a re-binding (D8, D13).
keys: MemberPublicKeysThe requested public pair; it verifies this request’s signature.
device: DeviceIdThe joining installation’s own id, fixed when the join begins: the approval registers it (D6).
device_name: StringThe new device’s name shown to the approving admin.
joiner: JoinerWho asks: a new person with the name they typed, or a member recovering.
Trait Implementations§
Source§impl Clone for JoinRequest
impl Clone for JoinRequest
Source§fn clone(&self) -> JoinRequest
fn clone(&self) -> JoinRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 JoinRequest
impl Debug for JoinRequest
Source§impl PartialEq for JoinRequest
impl PartialEq for JoinRequest
impl Eq for JoinRequest
impl StructuralPartialEq for JoinRequest
Auto Trait Implementations§
impl Freeze for JoinRequest
impl RefUnwindSafe for JoinRequest
impl Send for JoinRequest
impl Sync for JoinRequest
impl Unpin for JoinRequest
impl UnsafeUnpin for JoinRequest
impl UnwindSafe for JoinRequest
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
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