Struct ruma_client_api::uiaa::Password
source · [−]pub struct Password<'a> {
pub identifier: UserIdentifier<'a>,
pub password: &'a str,
pub session: Option<&'a str>,
}
Available on crate features
client
or server
only.Expand description
Data for password-based UIAA flow.
See the spec for how to use this.
Fields
identifier: UserIdentifier<'a>
One of the user’s identifiers.
password: &'a str
The plaintext password.
session: Option<&'a str>
The value of the session key given by the homeserver, if any.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Password<'a>
impl<'a> Send for Password<'a>
impl<'a> Sync for Password<'a>
impl<'a> Unpin for Password<'a>
impl<'a> UnwindSafe for Password<'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