Struct ruma_client_api::uiaa::EmailIdentity
source · [−]pub struct EmailIdentity<'a> {
pub thirdparty_id_creds: &'a ThirdpartyIdCredentials,
pub session: Option<&'a str>,
}
Available on crate features
client
or server
only.Expand description
Data for Email-based UIAA flow.
See the spec for how to use this.
Fields
thirdparty_id_creds: &'a ThirdpartyIdCredentials
Thirdparty identifier credentials.
session: Option<&'a str>
The value of the session key given by the homeserver, if any.
Trait Implementations
sourceimpl<'a> Clone for EmailIdentity<'a>
impl<'a> Clone for EmailIdentity<'a>
sourcefn clone(&self) -> EmailIdentity<'a>
fn clone(&self) -> EmailIdentity<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for EmailIdentity<'a>
impl<'a> Debug for EmailIdentity<'a>
sourceimpl<'a> Serialize for EmailIdentity<'a>
impl<'a> Serialize for EmailIdentity<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for EmailIdentity<'a>
impl<'a> Send for EmailIdentity<'a>
impl<'a> Sync for EmailIdentity<'a>
impl<'a> Unpin for EmailIdentity<'a>
impl<'a> UnwindSafe for EmailIdentity<'a>
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