Struct ruma::api::client::session::get_login_types::v3::SsoLoginType
source · [−]pub struct SsoLoginType {
pub identity_providers: Vec<IdentityProvider, Global>,
}
Available on (crate features
client-api-c
or client-api-s
) and (crate features client
or server
) and crate feature api
only.Expand description
The payload for SSO login.
Fields
identity_providers: Vec<IdentityProvider, Global>
The identity provider choices.
Implementations
sourceimpl SsoLoginType
impl SsoLoginType
sourcepub fn new() -> SsoLoginType
pub fn new() -> SsoLoginType
Creates a new PasswordLoginType
.
Trait Implementations
sourceimpl Clone for SsoLoginType
impl Clone for SsoLoginType
sourcefn clone(&self) -> SsoLoginType
fn clone(&self) -> SsoLoginType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SsoLoginType
impl Debug for SsoLoginType
sourceimpl Default for SsoLoginType
impl Default for SsoLoginType
sourcefn default() -> SsoLoginType
fn default() -> SsoLoginType
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SsoLoginType
impl<'de> Deserialize<'de> for SsoLoginType
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<SsoLoginType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SsoLoginType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for SsoLoginType
impl Serialize for SsoLoginType
sourcefn 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 RefUnwindSafe for SsoLoginType
impl Send for SsoLoginType
impl Sync for SsoLoginType
impl Unpin for SsoLoginType
impl UnwindSafe for SsoLoginType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more