Enum mas_router::PostAuthAction
source · pub enum PostAuthAction {
ContinueAuthorizationGrant {
id: Ulid,
},
ContinueDeviceCodeGrant {
id: Ulid,
},
ContinueCompatSsoLogin {
id: Ulid,
},
ChangePassword,
LinkUpstream {
id: Ulid,
},
ManageAccount {
action: Option<AccountAction>,
},
}
Variants§
ContinueAuthorizationGrant
ContinueDeviceCodeGrant
ContinueCompatSsoLogin
ChangePassword
LinkUpstream
ManageAccount
Fields
§
action: Option<AccountAction>
Implementations§
source§impl PostAuthAction
impl PostAuthAction
pub const fn continue_grant(id: Ulid) -> Self
pub const fn continue_device_code_grant(id: Ulid) -> Self
pub const fn continue_compat_sso_login(id: Ulid) -> Self
pub const fn link_upstream(id: Ulid) -> Self
pub const fn manage_account(action: Option<AccountAction>) -> Self
pub fn go_next(&self, url_builder: &UrlBuilder) -> Redirect
Trait Implementations§
source§impl Clone for PostAuthAction
impl Clone for PostAuthAction
source§fn clone(&self) -> PostAuthAction
fn clone(&self) -> PostAuthAction
Returns a copy 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 PostAuthAction
impl Debug for PostAuthAction
source§impl<'de> Deserialize<'de> for PostAuthAction
impl<'de> Deserialize<'de> for PostAuthAction
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 PostAuthAction
impl RefUnwindSafe for PostAuthAction
impl Send for PostAuthAction
impl Sync for PostAuthAction
impl Unpin for PostAuthAction
impl UnwindSafe for PostAuthAction
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)