Struct whatsappweb::connection::PersistentSession [−][src]
pub struct PersistentSession { pub client_token: String, pub server_token: String, pub client_id: [u8; 8], pub enc: [u8; 32], pub mac: [u8; 32], }
Stores the parameters to login without scanning the qrcode again.
Fields
client_token: String
server_token: String
client_id: [u8; 8]
enc: [u8; 32]
mac: [u8; 32]
Trait Implementations
impl PartialEq for PersistentSession
[src]
impl PartialEq for PersistentSession
fn eq(&self, other: &PersistentSession) -> bool
[src]
fn eq(&self, other: &PersistentSession) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PersistentSession) -> bool
[src]
fn ne(&self, other: &PersistentSession) -> bool
This method tests for !=
.
impl Debug for PersistentSession
[src]
impl Debug for PersistentSession
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PersistentSession
[src]
impl Clone for PersistentSession
fn clone(&self) -> PersistentSession
[src]
fn clone(&self) -> PersistentSession
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for PersistentSession
impl Send for PersistentSession
impl Sync for PersistentSession
impl Sync for PersistentSession