Struct kvproto::diagnosticspb::ServerInfoItem[][src]

pub struct ServerInfoItem {
    pub tp: String,
    pub name: String,
    pub pairs: RepeatedField<ServerInfoPair>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

tp: Stringname: Stringpairs: RepeatedField<ServerInfoPair>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ServerInfoItem[src]

pub fn new() -> ServerInfoItem[src]

pub fn get_tp(&self) -> &str[src]

pub fn clear_tp(&mut self)[src]

pub fn set_tp(&mut self, v: String)[src]

pub fn mut_tp(&mut self) -> &mut String[src]

pub fn take_tp(&mut self) -> String[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_name(&mut self)[src]

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_pairs(&self) -> &[ServerInfoPair][src]

pub fn clear_pairs(&mut self)[src]

pub fn set_pairs(&mut self, v: RepeatedField<ServerInfoPair>)[src]

pub fn mut_pairs(&mut self) -> &mut RepeatedField<ServerInfoPair>[src]

pub fn take_pairs(&mut self) -> RepeatedField<ServerInfoPair>[src]

Trait Implementations

impl Clear for ServerInfoItem[src]

impl Clone for ServerInfoItem[src]

impl Debug for ServerInfoItem[src]

impl Default for ServerInfoItem[src]

impl<'a> Default for &'a ServerInfoItem[src]

impl Message for ServerInfoItem[src]

impl PartialEq<ServerInfoItem> for ServerInfoItem[src]

impl PbPrint for ServerInfoItem[src]

impl ProtobufValue for ServerInfoItem[src]

impl StructuralPartialEq for ServerInfoItem[src]

Auto Trait Implementations

impl RefUnwindSafe for ServerInfoItem

impl Send for ServerInfoItem

impl Sync for ServerInfoItem

impl Unpin for ServerInfoItem

impl UnwindSafe for ServerInfoItem

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.