pub struct AuthMessage {
pub username: String,
pub password: String,
}Expand description
Authentication message from client
Fields§
§username: StringUsername
password: StringPassword
Implementations§
Trait Implementations§
Source§impl Clone for AuthMessage
impl Clone for AuthMessage
Source§fn clone(&self) -> AuthMessage
fn clone(&self) -> AuthMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthMessage
impl RefUnwindSafe for AuthMessage
impl Send for AuthMessage
impl Sync for AuthMessage
impl Unpin for AuthMessage
impl UnwindSafe for AuthMessage
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