pub struct CMsgClientSetClientAppUpdateState { /* private fields */ }Implementations§
Source§impl CMsgClientSetClientAppUpdateState
impl CMsgClientSetClientAppUpdateState
pub fn new() -> CMsgClientSetClientAppUpdateState
pub fn default_instance() -> &'static CMsgClientSetClientAppUpdateState
pub fn clear_appid(&mut self)
pub fn has_appid(&self) -> bool
pub fn set_appid(&mut self, v: u32)
pub fn get_appid<'a>(&self) -> u32
pub fn clear_update(&mut self)
pub fn has_update(&self) -> bool
pub fn set_update(&mut self, v: bool)
pub fn get_update<'a>(&self) -> bool
Trait Implementations§
Source§impl Clone for CMsgClientSetClientAppUpdateState
impl Clone for CMsgClientSetClientAppUpdateState
Source§fn clone(&self) -> CMsgClientSetClientAppUpdateState
fn clone(&self) -> CMsgClientSetClientAppUpdateState
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 Default for CMsgClientSetClientAppUpdateState
impl Default for CMsgClientSetClientAppUpdateState
Source§fn default() -> CMsgClientSetClientAppUpdateState
fn default() -> CMsgClientSetClientAppUpdateState
Returns the “default value” for a type. Read more
Source§impl Message for CMsgClientSetClientAppUpdateState
impl Message for CMsgClientSetClientAppUpdateState
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 CMsgClientSetClientAppUpdateState
impl MessageStatic for CMsgClientSetClientAppUpdateState
fn new() -> CMsgClientSetClientAppUpdateState
fn descriptor_static( _: Option<CMsgClientSetClientAppUpdateState>, ) -> &'static MessageDescriptor
Source§impl PartialEq for CMsgClientSetClientAppUpdateState
impl PartialEq for CMsgClientSetClientAppUpdateState
Source§fn eq(&self, other: &CMsgClientSetClientAppUpdateState) -> bool
fn eq(&self, other: &CMsgClientSetClientAppUpdateState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Sync for CMsgClientSetClientAppUpdateState
Auto Trait Implementations§
impl !Freeze for CMsgClientSetClientAppUpdateState
impl !RefUnwindSafe for CMsgClientSetClientAppUpdateState
impl Send for CMsgClientSetClientAppUpdateState
impl Unpin for CMsgClientSetClientAppUpdateState
impl UnwindSafe for CMsgClientSetClientAppUpdateState
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