Struct mas_router::Login
source · pub struct Login { /* private fields */ }
Expand description
GET|POST /login
Implementations§
source§impl Login
impl Login
pub const fn and_then(action: PostAuthAction) -> Self
pub const fn and_continue_grant(id: Ulid) -> Self
pub const fn and_continue_device_code_grant(id: Ulid) -> Self
pub const fn and_continue_compat_sso_login(id: Ulid) -> Self
pub const fn and_link_upstream(id: Ulid) -> Self
sourcepub fn post_auth_action(&self) -> Option<&PostAuthAction>
pub fn post_auth_action(&self) -> Option<&PostAuthAction>
Get a reference to the login’s post auth action.
pub fn go_next(&self, url_builder: &UrlBuilder) -> Redirect
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Login
impl RefUnwindSafe for Login
impl Send for Login
impl Sync for Login
impl Unpin for Login
impl UnwindSafe for Login
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)