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: IncomingUserIdentifierOne of the user’s identifiers.
password: StringThe plaintext password.
session: Option<String>The value of the session key given by the homeserver, if any.
Trait Implementations§
Source§impl Debug for IncomingPassword
impl Debug for IncomingPassword
Source§impl<'de> Deserialize<'de> for IncomingPassword
impl<'de> Deserialize<'de> for IncomingPassword
Source§fn 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 Freeze for IncomingPassword
impl RefUnwindSafe for IncomingPassword
impl Send for IncomingPassword
impl Sync for IncomingPassword
impl Unpin for IncomingPassword
impl UnwindSafe for IncomingPassword
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