pub struct CMsgClientServerList { /* private fields */ }Implementations§
Source§impl CMsgClientServerList
impl CMsgClientServerList
pub fn new() -> CMsgClientServerList
pub fn default_instance() -> &'static CMsgClientServerList
pub fn clear_servers(&mut self)
pub fn set_servers(&mut self, v: RepeatedField<CMsgClientServerList_Server>)
pub fn mut_servers<'a>( &'a mut self, ) -> &'a mut RepeatedField<CMsgClientServerList_Server>
pub fn take_servers(&mut self) -> RepeatedField<CMsgClientServerList_Server>
pub fn get_servers<'a>(&'a self) -> &'a [CMsgClientServerList_Server]
Trait Implementations§
Source§impl Clone for CMsgClientServerList
impl Clone for CMsgClientServerList
Source§fn clone(&self) -> CMsgClientServerList
fn clone(&self) -> CMsgClientServerList
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 CMsgClientServerList
impl Debug for CMsgClientServerList
Source§impl Default for CMsgClientServerList
impl Default for CMsgClientServerList
Source§fn default() -> CMsgClientServerList
fn default() -> CMsgClientServerList
Returns the “default value” for a type. Read more
Source§impl Message for CMsgClientServerList
impl Message for CMsgClientServerList
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 CMsgClientServerList
impl MessageStatic for CMsgClientServerList
fn new() -> CMsgClientServerList
fn descriptor_static( _: Option<CMsgClientServerList>, ) -> &'static MessageDescriptor
Source§impl PartialEq for CMsgClientServerList
impl PartialEq for CMsgClientServerList
impl Sync for CMsgClientServerList
Auto Trait Implementations§
impl !Freeze for CMsgClientServerList
impl !RefUnwindSafe for CMsgClientServerList
impl Send for CMsgClientServerList
impl Unpin for CMsgClientServerList
impl UnwindSafe for CMsgClientServerList
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