pub struct NewSessionResponse {
pub csrf: String,
}
Expand description
Response for successfully creating a session.
Note: This response also includes a cookie.
Fields§
§csrf: String
A transparent CSRF token to use for this Session.
Trait Implementations§
Source§impl Debug for NewSessionResponse
impl Debug for NewSessionResponse
Source§impl<'de> Deserialize<'de> for NewSessionResponse
impl<'de> Deserialize<'de> for NewSessionResponse
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 NewSessionResponse
impl RefUnwindSafe for NewSessionResponse
impl Send for NewSessionResponse
impl Sync for NewSessionResponse
impl Unpin for NewSessionResponse
impl UnwindSafe for NewSessionResponse
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