pub struct JoinRequest {
pub key: PublicKey,
pub name: String,
}Expand description
The joiner’s first encrypted message.
Fields§
§key: PublicKey§name: String“Vex’s laptop”.
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 (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 ComposeSchema for JoinRequest
impl ComposeSchema for JoinRequest
Source§impl Debug for JoinRequest
impl Debug for JoinRequest
Source§impl<'de> Deserialize<'de> for JoinRequest
impl<'de> Deserialize<'de> for JoinRequest
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
Source§impl PartialEq for JoinRequest
impl PartialEq for JoinRequest
Source§fn eq(&self, other: &JoinRequest) -> bool
fn eq(&self, other: &JoinRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JoinRequest
impl Serialize for JoinRequest
Source§impl ToSchema for JoinRequest
impl ToSchema 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
Compare self to
key and return true if they are equal.