pub struct SessionBody {
pub device: DeviceId,
pub nonce: String,
pub signature: String,
}Expand description
POST /session: the device, the nonce it was given, and its signature
over that nonce.
Fields§
§device: DeviceId§nonce: String§signature: StringTrait Implementations§
Source§impl Debug for SessionBody
impl Debug for SessionBody
Source§impl<'de> Deserialize<'de> for SessionBody
impl<'de> Deserialize<'de> for SessionBody
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 SessionBody
impl RefUnwindSafe for SessionBody
impl Send for SessionBody
impl Sync for SessionBody
impl Unpin for SessionBody
impl UnsafeUnpin for SessionBody
impl UnwindSafe for SessionBody
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