Struct ruma_client_api::uiaa::IncomingPassword
source · [−]pub struct IncomingPassword {
pub identifier: IncomingUserIdentifier,
pub password: String,
pub session: Option<String>,
}
Available on crate features
client
or server
only.Expand description
‘Incoming’ variant of Password.
Fields
identifier: IncomingUserIdentifier
One of the user’s identifiers.
password: String
The plaintext password.
session: Option<String>
The value of the session key given by the homeserver, if any.
Trait Implementations
sourceimpl Debug for IncomingPassword
impl Debug for IncomingPassword
sourceimpl<'de> Deserialize<'de> for IncomingPassword
impl<'de> Deserialize<'de> for IncomingPassword
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IncomingPassword
impl Send for IncomingPassword
impl Sync for IncomingPassword
impl Unpin for IncomingPassword
impl UnwindSafe for IncomingPassword
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