pub struct StartSessionResponse {
pub action_required: bool,
pub valid_actions: Option<Vec<ValidAction>>,
pub qr_challenge_url: Option<String>,
}Expand description
Response from starting a login session.
Fields§
§action_required: boolWhether action is required from the user.
valid_actions: Option<Vec<ValidAction>>Valid actions the user can take.
qr_challenge_url: Option<String>QR code challenge URL (for QR login).
Trait Implementations§
Source§impl Clone for StartSessionResponse
impl Clone for StartSessionResponse
Source§fn clone(&self) -> StartSessionResponse
fn clone(&self) -> StartSessionResponse
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 moreAuto Trait Implementations§
impl Freeze for StartSessionResponse
impl RefUnwindSafe for StartSessionResponse
impl Send for StartSessionResponse
impl Sync for StartSessionResponse
impl Unpin for StartSessionResponse
impl UnsafeUnpin for StartSessionResponse
impl UnwindSafe for StartSessionResponse
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