pub struct AuthFrame {
pub kind: String,
pub key: String,
}Expand description
Auth-frame shape. type discriminator + key payload.
Fields§
§kind: StringMust be the literal "auth".
key: StringPre-shared key value.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthFrame
impl<'de> Deserialize<'de> for AuthFrame
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
Auto Trait Implementations§
impl Freeze for AuthFrame
impl RefUnwindSafe for AuthFrame
impl Send for AuthFrame
impl Sync for AuthFrame
impl Unpin for AuthFrame
impl UnsafeUnpin for AuthFrame
impl UnwindSafe for AuthFrame
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