pub struct AuthenticationResponse {
pub status: ResponseStatus,
pub user_message: String,
pub data: Vec<u8>,
}Expand description
A server response from an authentication session.
Fields§
§status: ResponseStatusWhether the authentication attempt passed or failed.
user_message: StringThe message returned by the server, intended to be displayed to the user.
data: Vec<u8>Extra data returned by the server.
Trait Implementations§
Source§impl Clone for AuthenticationResponse
impl Clone for AuthenticationResponse
Source§fn clone(&self) -> AuthenticationResponse
fn clone(&self) -> AuthenticationResponse
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 moreSource§impl Debug for AuthenticationResponse
impl Debug for AuthenticationResponse
Source§impl Hash for AuthenticationResponse
impl Hash for AuthenticationResponse
Source§impl PartialEq for AuthenticationResponse
impl PartialEq for AuthenticationResponse
impl Eq for AuthenticationResponse
impl StructuralPartialEq for AuthenticationResponse
Auto Trait Implementations§
impl Freeze for AuthenticationResponse
impl RefUnwindSafe for AuthenticationResponse
impl Send for AuthenticationResponse
impl Sync for AuthenticationResponse
impl Unpin for AuthenticationResponse
impl UnwindSafe for AuthenticationResponse
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