pub struct CMsgAuthTicket {
pub estate: Option<u32>,
pub eresult: Option<u32>,
pub steamid: Option<u64>,
pub gameid: Option<u64>,
pub h_steam_pipe: Option<u32>,
pub ticket_crc: Option<u32>,
pub ticket: Option<Vec<u8>>,
pub server_secret: Option<Vec<u8>>,
pub ticket_type: Option<u32>,
}Expand description
Authentication ticket
Fields§
§estate: Option<u32>§eresult: Option<u32>§steamid: Option<u64>§gameid: Option<u64>§h_steam_pipe: Option<u32>§ticket_crc: Option<u32>§ticket: Option<Vec<u8>>§server_secret: Option<Vec<u8>>§ticket_type: Option<u32>Implementations§
Source§impl CMsgAuthTicket
impl CMsgAuthTicket
Sourcepub fn estate(&self) -> u32
pub fn estate(&self) -> u32
Returns the value of estate, or the default value if estate is unset.
Sourcepub fn eresult(&self) -> u32
pub fn eresult(&self) -> u32
Returns the value of eresult, or the default value if eresult is unset.
Sourcepub fn steamid(&self) -> u64
pub fn steamid(&self) -> u64
Returns the value of steamid, or the default value if steamid is unset.
Sourcepub fn gameid(&self) -> u64
pub fn gameid(&self) -> u64
Returns the value of gameid, or the default value if gameid is unset.
Sourcepub fn h_steam_pipe(&self) -> u32
pub fn h_steam_pipe(&self) -> u32
Returns the value of h_steam_pipe, or the default value if h_steam_pipe is unset.
Sourcepub fn ticket_crc(&self) -> u32
pub fn ticket_crc(&self) -> u32
Returns the value of ticket_crc, or the default value if ticket_crc is unset.
Sourcepub fn ticket(&self) -> &[u8] ⓘ
pub fn ticket(&self) -> &[u8] ⓘ
Returns the value of ticket, or the default value if ticket is unset.
Sourcepub fn server_secret(&self) -> &[u8] ⓘ
pub fn server_secret(&self) -> &[u8] ⓘ
Returns the value of server_secret, or the default value if server_secret is unset.
Sourcepub fn ticket_type(&self) -> u32
pub fn ticket_type(&self) -> u32
Returns the value of ticket_type, or the default value if ticket_type is unset.
Trait Implementations§
Source§impl Clone for CMsgAuthTicket
impl Clone for CMsgAuthTicket
Source§fn clone(&self) -> CMsgAuthTicket
fn clone(&self) -> CMsgAuthTicket
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 CMsgAuthTicket
impl Debug for CMsgAuthTicket
Source§impl Default for CMsgAuthTicket
impl Default for CMsgAuthTicket
Source§impl Message for CMsgAuthTicket
impl Message for CMsgAuthTicket
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 CMsgAuthTicket
impl PartialEq for CMsgAuthTicket
impl StructuralPartialEq for CMsgAuthTicket
Auto Trait Implementations§
impl Freeze for CMsgAuthTicket
impl RefUnwindSafe for CMsgAuthTicket
impl Send for CMsgAuthTicket
impl Sync for CMsgAuthTicket
impl Unpin for CMsgAuthTicket
impl UnsafeUnpin for CMsgAuthTicket
impl UnwindSafe for CMsgAuthTicket
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