pub struct CMsgClientMmsSetLobbyData {
pub app_id: Option<u32>,
pub steam_id_lobby: Option<u64>,
pub steam_id_member: Option<u64>,
pub max_members: Option<i32>,
pub lobby_type: Option<i32>,
pub lobby_flags: Option<i32>,
pub metadata: Option<Vec<u8>>,
}Expand description
CMsgClientMMSSetLobbyData
Fields§
§app_id: Option<u32>§steam_id_lobby: Option<u64>§steam_id_member: Option<u64>§max_members: Option<i32>§lobby_type: Option<i32>§lobby_flags: Option<i32>§metadata: Option<Vec<u8>>Implementations§
Source§impl CMsgClientMmsSetLobbyData
impl CMsgClientMmsSetLobbyData
Sourcepub fn app_id(&self) -> u32
pub fn app_id(&self) -> u32
Returns the value of app_id, or the default value if app_id is unset.
Sourcepub fn steam_id_lobby(&self) -> u64
pub fn steam_id_lobby(&self) -> u64
Returns the value of steam_id_lobby, or the default value if steam_id_lobby is unset.
Sourcepub fn steam_id_member(&self) -> u64
pub fn steam_id_member(&self) -> u64
Returns the value of steam_id_member, or the default value if steam_id_member is unset.
Sourcepub fn max_members(&self) -> i32
pub fn max_members(&self) -> i32
Returns the value of max_members, or the default value if max_members is unset.
Sourcepub fn lobby_type(&self) -> i32
pub fn lobby_type(&self) -> i32
Returns the value of lobby_type, or the default value if lobby_type is unset.
Sourcepub fn lobby_flags(&self) -> i32
pub fn lobby_flags(&self) -> i32
Returns the value of lobby_flags, or the default value if lobby_flags is unset.
Trait Implementations§
Source§impl Clone for CMsgClientMmsSetLobbyData
impl Clone for CMsgClientMmsSetLobbyData
Source§fn clone(&self) -> CMsgClientMmsSetLobbyData
fn clone(&self) -> CMsgClientMmsSetLobbyData
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 CMsgClientMmsSetLobbyData
impl Debug for CMsgClientMmsSetLobbyData
Source§impl Default for CMsgClientMmsSetLobbyData
impl Default for CMsgClientMmsSetLobbyData
Source§impl Message for CMsgClientMmsSetLobbyData
impl Message for CMsgClientMmsSetLobbyData
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.impl StructuralPartialEq for CMsgClientMmsSetLobbyData
Auto Trait Implementations§
impl Freeze for CMsgClientMmsSetLobbyData
impl RefUnwindSafe for CMsgClientMmsSetLobbyData
impl Send for CMsgClientMmsSetLobbyData
impl Sync for CMsgClientMmsSetLobbyData
impl Unpin for CMsgClientMmsSetLobbyData
impl UnsafeUnpin for CMsgClientMmsSetLobbyData
impl UnwindSafe for CMsgClientMmsSetLobbyData
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