pub struct CMsgClientAuthList {
pub tokens_left: Option<u32>,
pub last_request_seq: Option<u32>,
pub last_request_seq_from_server: Option<u32>,
pub tickets: Vec<CMsgAuthTicket>,
pub app_ids: Vec<u32>,
pub message_sequence: Option<u32>,
pub filtered: Option<bool>,
}Expand description
Auth list message
Fields§
§tokens_left: Option<u32>§last_request_seq: Option<u32>§last_request_seq_from_server: Option<u32>§tickets: Vec<CMsgAuthTicket>§app_ids: Vec<u32>§message_sequence: Option<u32>§filtered: Option<bool>Implementations§
Source§impl CMsgClientAuthList
impl CMsgClientAuthList
Sourcepub fn tokens_left(&self) -> u32
pub fn tokens_left(&self) -> u32
Returns the value of tokens_left, or the default value if tokens_left is unset.
Sourcepub fn last_request_seq(&self) -> u32
pub fn last_request_seq(&self) -> u32
Returns the value of last_request_seq, or the default value if last_request_seq is unset.
Sourcepub fn last_request_seq_from_server(&self) -> u32
pub fn last_request_seq_from_server(&self) -> u32
Returns the value of last_request_seq_from_server, or the default value if last_request_seq_from_server is unset.
Sourcepub fn message_sequence(&self) -> u32
pub fn message_sequence(&self) -> u32
Returns the value of message_sequence, or the default value if message_sequence is unset.
Trait Implementations§
Source§impl Clone for CMsgClientAuthList
impl Clone for CMsgClientAuthList
Source§fn clone(&self) -> CMsgClientAuthList
fn clone(&self) -> CMsgClientAuthList
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 CMsgClientAuthList
impl Debug for CMsgClientAuthList
Source§impl Default for CMsgClientAuthList
impl Default for CMsgClientAuthList
Source§impl Message for CMsgClientAuthList
impl Message for CMsgClientAuthList
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for CMsgClientAuthList
impl PartialEq for CMsgClientAuthList
impl StructuralPartialEq for CMsgClientAuthList
Auto Trait Implementations§
impl Freeze for CMsgClientAuthList
impl RefUnwindSafe for CMsgClientAuthList
impl Send for CMsgClientAuthList
impl Sync for CMsgClientAuthList
impl Unpin for CMsgClientAuthList
impl UnsafeUnpin for CMsgClientAuthList
impl UnwindSafe for CMsgClientAuthList
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