Struct ruma_client_api::r0::uiaa::Password [−][src]
pub struct Password<'a> {
pub identifier: UserIdentifier<'a>,
pub password: &'a str,
pub session: Option<&'a str>,
}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
Creates a new Password with the given identifier and password.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Password<'a>
impl<'a> UnwindSafe for Password<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more