pub struct CMsgClientChatInvite {
pub steam_id_invited: Option<u64>,
pub steam_id_chat: Option<u64>,
pub steam_id_patron: Option<u64>,
pub chatroom_type: Option<i32>,
pub steam_id_friend_chat: Option<u64>,
pub chat_name: Option<String>,
pub game_id: Option<u64>,
}Fields§
§steam_id_invited: Option<u64>§steam_id_chat: Option<u64>§steam_id_patron: Option<u64>§chatroom_type: Option<i32>§steam_id_friend_chat: Option<u64>§chat_name: Option<String>§game_id: Option<u64>Implementations§
Source§impl CMsgClientChatInvite
impl CMsgClientChatInvite
Sourcepub fn steam_id_invited(&self) -> u64
pub fn steam_id_invited(&self) -> u64
Returns the value of steam_id_invited, or the default value if steam_id_invited is unset.
Sourcepub fn steam_id_chat(&self) -> u64
pub fn steam_id_chat(&self) -> u64
Returns the value of steam_id_chat, or the default value if steam_id_chat is unset.
Sourcepub fn steam_id_patron(&self) -> u64
pub fn steam_id_patron(&self) -> u64
Returns the value of steam_id_patron, or the default value if steam_id_patron is unset.
Sourcepub fn chatroom_type(&self) -> i32
pub fn chatroom_type(&self) -> i32
Returns the value of chatroom_type, or the default value if chatroom_type is unset.
Sourcepub fn steam_id_friend_chat(&self) -> u64
pub fn steam_id_friend_chat(&self) -> u64
Returns the value of steam_id_friend_chat, or the default value if steam_id_friend_chat is unset.
Trait Implementations§
Source§impl Clone for CMsgClientChatInvite
impl Clone for CMsgClientChatInvite
Source§fn clone(&self) -> CMsgClientChatInvite
fn clone(&self) -> CMsgClientChatInvite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CMsgClientChatInvite
impl Debug for CMsgClientChatInvite
Source§impl Default for CMsgClientChatInvite
impl Default for CMsgClientChatInvite
impl Eq for CMsgClientChatInvite
Source§impl Hash for CMsgClientChatInvite
impl Hash for CMsgClientChatInvite
Source§impl Message for CMsgClientChatInvite
impl Message for CMsgClientChatInvite
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(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for CMsgClientChatInvite
impl PartialEq for CMsgClientChatInvite
Source§fn eq(&self, other: &CMsgClientChatInvite) -> bool
fn eq(&self, other: &CMsgClientChatInvite) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CMsgClientChatInvite
Auto Trait Implementations§
impl Freeze for CMsgClientChatInvite
impl RefUnwindSafe for CMsgClientChatInvite
impl Send for CMsgClientChatInvite
impl Sync for CMsgClientChatInvite
impl Unpin for CMsgClientChatInvite
impl UnsafeUnpin for CMsgClientChatInvite
impl UnwindSafe for CMsgClientChatInvite
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