pub struct PairingMessage {
pub data: Vec<u8>,
}Expand description
A message relayed between the two sides of a pairing:
PUT/GET /pairings/{slot}/{host|joiner}/{n}. Opaque to the server.
Fields§
§data: Vec<u8>Unpadded base64url.
Trait Implementations§
Source§impl Clone for PairingMessage
impl Clone for PairingMessage
Source§fn clone(&self) -> PairingMessage
fn clone(&self) -> PairingMessage
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 PairingMessage
impl ComposeSchema for PairingMessage
Source§impl Debug for PairingMessage
impl Debug for PairingMessage
Source§impl<'de> Deserialize<'de> for PairingMessage
impl<'de> Deserialize<'de> for PairingMessage
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 PairingMessage
impl PartialEq for PairingMessage
Source§fn eq(&self, other: &PairingMessage) -> bool
fn eq(&self, other: &PairingMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PairingMessage
impl Serialize for PairingMessage
Source§impl ToSchema for PairingMessage
impl ToSchema for PairingMessage
impl Eq for PairingMessage
impl StructuralPartialEq for PairingMessage
Auto Trait Implementations§
impl Freeze for PairingMessage
impl RefUnwindSafe for PairingMessage
impl Send for PairingMessage
impl Sync for PairingMessage
impl Unpin for PairingMessage
impl UnsafeUnpin for PairingMessage
impl UnwindSafe for PairingMessage
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.