pub struct SuccessfulNativeLogin {
pub continue_with: Option<Vec<ContinueWith>>,
pub session: Box<Session>,
pub session_token: Option<String>,
}Expand description
SuccessfulNativeLogin : The Response for Login Flows via API
Fields§
§continue_with: Option<Vec<ContinueWith>>Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user’s registration or the token of the session.
session: Box<Session>§session_token: Option<String>The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows!
Implementations§
Source§impl SuccessfulNativeLogin
impl SuccessfulNativeLogin
Sourcepub fn new(session: Session) -> SuccessfulNativeLogin
pub fn new(session: Session) -> SuccessfulNativeLogin
The Response for Login Flows via API
Trait Implementations§
Source§impl Clone for SuccessfulNativeLogin
impl Clone for SuccessfulNativeLogin
Source§fn clone(&self) -> SuccessfulNativeLogin
fn clone(&self) -> SuccessfulNativeLogin
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SuccessfulNativeLogin
impl Debug for SuccessfulNativeLogin
Source§impl Default for SuccessfulNativeLogin
impl Default for SuccessfulNativeLogin
Source§fn default() -> SuccessfulNativeLogin
fn default() -> SuccessfulNativeLogin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SuccessfulNativeLogin
impl<'de> Deserialize<'de> for SuccessfulNativeLogin
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 SuccessfulNativeLogin
impl PartialEq for SuccessfulNativeLogin
Source§impl Serialize for SuccessfulNativeLogin
impl Serialize for SuccessfulNativeLogin
impl StructuralPartialEq for SuccessfulNativeLogin
Auto Trait Implementations§
impl Freeze for SuccessfulNativeLogin
impl RefUnwindSafe for SuccessfulNativeLogin
impl Send for SuccessfulNativeLogin
impl Sync for SuccessfulNativeLogin
impl Unpin for SuccessfulNativeLogin
impl UnwindSafe for SuccessfulNativeLogin
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