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 strThe 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> Freeze for Password<'a>
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§
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)