pub struct AuthPayload {
pub client_uuid: String,
pub link_code: String,
}
Expand description
The payload for an authentication message.
Fields§
§client_uuid: String
The client’s UUID.
link_code: String
The link code used to authenticate with the server.
Trait Implementations§
Source§impl Debug for AuthPayload
impl Debug for AuthPayload
Source§impl<'de> Deserialize<'de> for AuthPayload
impl<'de> Deserialize<'de> for AuthPayload
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 AuthPayload
impl RefUnwindSafe for AuthPayload
impl Send for AuthPayload
impl Sync for AuthPayload
impl Unpin for AuthPayload
impl UnwindSafe for AuthPayload
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