pub struct ClientAuth {
pub login_key: u32,
pub attempts_count: u8,
pub unk: u16,
}Expand description
Sent by the client to the server without encryption in order to authenticate, the server then compares with its internal login keys from past successful logins on the login app.
This element is usually a request, in such case a ServerSessionKey must be
sent as a reply.
Fields§
§login_key: u32The login key that was sent by the login application, part of the element
super::login::LoginSuccess.
attempts_count: u8The current number of attempts.
unk: u16Unknown 16-bits value at the end.
Trait Implementations§
Source§impl Clone for ClientAuth
impl Clone for ClientAuth
Source§fn clone(&self) -> ClientAuth
fn clone(&self) -> ClientAuth
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 ClientAuth
impl Debug for ClientAuth
Source§impl SimpleElement for ClientAuth
impl SimpleElement for ClientAuth
Source§impl TopElement for ClientAuth
impl TopElement for ClientAuth
Source§const LEN: ElementLength
const LEN: ElementLength
The type of length that prefixes the element’s content and describe
how much space is taken by the element.
Auto Trait Implementations§
impl Freeze for ClientAuth
impl RefUnwindSafe for ClientAuth
impl Send for ClientAuth
impl Sync for ClientAuth
impl Unpin for ClientAuth
impl UnwindSafe for ClientAuth
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