#[non_exhaustive]pub enum SsoRedirectOidcAction {
Login,
Register,
}
Available on (crate features
client-api-c
or client-api-s
) and (crate features client
or server
) and crate feature api
and crate feature unstable-msc3824
only.Expand description
Possible purposes for using the SSO redirect URL for OIDC-aware compatibility (MSC3824).
This type can hold an arbitrary string. To build this with a custom value, convert it from a
string with ::from()
/ .into()
. To check for values that are not available as a
documented variant here, use its string representation, obtained through
.as_str()
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Login
The SSO redirect is for the purpose of signing an existing user in.
Register
The SSO redirect is for the purpose of registering a new user account.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SsoRedirectOidcAction
impl AsRef<str> for SsoRedirectOidcAction
Source§impl Clone for SsoRedirectOidcAction
impl Clone for SsoRedirectOidcAction
Source§fn clone(&self) -> SsoRedirectOidcAction
fn clone(&self) -> SsoRedirectOidcAction
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 SsoRedirectOidcAction
impl Debug for SsoRedirectOidcAction
Source§impl<'de> Deserialize<'de> for SsoRedirectOidcAction
impl<'de> Deserialize<'de> for SsoRedirectOidcAction
Source§fn deserialize<D>(
deserializer: D,
) -> Result<SsoRedirectOidcAction, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SsoRedirectOidcAction, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SsoRedirectOidcAction
impl Display for SsoRedirectOidcAction
Source§impl<T> From<T> for SsoRedirectOidcAction
impl<T> From<T> for SsoRedirectOidcAction
Source§fn from(s: T) -> SsoRedirectOidcAction
fn from(s: T) -> SsoRedirectOidcAction
Converts to this type from the input type.
Source§impl Serialize for SsoRedirectOidcAction
impl Serialize for SsoRedirectOidcAction
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SsoRedirectOidcAction
impl RefUnwindSafe for SsoRedirectOidcAction
impl Send for SsoRedirectOidcAction
impl Sync for SsoRedirectOidcAction
impl Unpin for SsoRedirectOidcAction
impl UnwindSafe for SsoRedirectOidcAction
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