pub struct CMsgGSServerType { /* private fields */ }Implementations§
Source§impl CMsgGSServerType
impl CMsgGSServerType
pub fn new() -> CMsgGSServerType
pub fn default_instance() -> &'static CMsgGSServerType
pub fn clear_app_id_served(&mut self)
pub fn has_app_id_served(&self) -> bool
pub fn set_app_id_served(&mut self, v: u32)
pub fn get_app_id_served<'a>(&self) -> u32
pub fn clear_flags(&mut self)
pub fn has_flags(&self) -> bool
pub fn set_flags(&mut self, v: u32)
pub fn get_flags<'a>(&self) -> u32
pub fn clear_game_ip_address(&mut self)
pub fn has_game_ip_address(&self) -> bool
pub fn set_game_ip_address(&mut self, v: u32)
pub fn get_game_ip_address<'a>(&self) -> u32
pub fn clear_game_port(&mut self)
pub fn has_game_port(&self) -> bool
pub fn set_game_port(&mut self, v: u32)
pub fn get_game_port<'a>(&self) -> u32
pub fn clear_game_dir(&mut self)
pub fn has_game_dir(&self) -> bool
pub fn set_game_dir(&mut self, v: String)
pub fn mut_game_dir<'a>(&'a mut self) -> &'a mut String
pub fn take_game_dir(&mut self) -> String
pub fn get_game_dir<'a>(&'a self) -> &'a str
pub fn clear_game_version(&mut self)
pub fn has_game_version(&self) -> bool
pub fn set_game_version(&mut self, v: String)
pub fn mut_game_version<'a>(&'a mut self) -> &'a mut String
pub fn take_game_version(&mut self) -> String
pub fn get_game_version<'a>(&'a self) -> &'a str
pub fn clear_game_query_port(&mut self)
pub fn has_game_query_port(&self) -> bool
pub fn set_game_query_port(&mut self, v: u32)
pub fn get_game_query_port<'a>(&self) -> u32
Trait Implementations§
Source§impl Clone for CMsgGSServerType
impl Clone for CMsgGSServerType
Source§fn clone(&self) -> CMsgGSServerType
fn clone(&self) -> CMsgGSServerType
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 CMsgGSServerType
impl Debug for CMsgGSServerType
Source§impl Default for CMsgGSServerType
impl Default for CMsgGSServerType
Source§fn default() -> CMsgGSServerType
fn default() -> CMsgGSServerType
Returns the “default value” for a type. Read more
Source§impl Message for CMsgGSServerType
impl Message for CMsgGSServerType
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_>, ) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields
fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields
fn type_id(&self) -> TypeId
fn as_any(&self) -> &dyn Any
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec( &self, vec: &mut Vec<u8>, ) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn into_any(self: Box<Self>) -> Box<dyn Any>
Source§impl MessageStatic for CMsgGSServerType
impl MessageStatic for CMsgGSServerType
fn new() -> CMsgGSServerType
fn descriptor_static(_: Option<CMsgGSServerType>) -> &'static MessageDescriptor
Source§impl PartialEq for CMsgGSServerType
impl PartialEq for CMsgGSServerType
impl Sync for CMsgGSServerType
Auto Trait Implementations§
impl !Freeze for CMsgGSServerType
impl !RefUnwindSafe for CMsgGSServerType
impl Send for CMsgGSServerType
impl Unpin for CMsgGSServerType
impl UnwindSafe for CMsgGSServerType
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