Struct grpcio_proto::testing::control::ServerStatus[][src]

pub struct ServerStatus {
    pub stats: SingularPtrField<ServerStats>,
    pub port: i32,
    pub cores: i32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

stats: SingularPtrField<ServerStats>port: i32cores: i32unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ServerStatus[src]

pub fn new() -> ServerStatus[src]

pub fn get_stats(&self) -> &ServerStats[src]

pub fn clear_stats(&mut self)[src]

pub fn has_stats(&self) -> bool[src]

pub fn set_stats(&mut self, v: ServerStats)[src]

pub fn mut_stats(&mut self) -> &mut ServerStats[src]

pub fn take_stats(&mut self) -> ServerStats[src]

pub fn get_port(&self) -> i32[src]

pub fn clear_port(&mut self)[src]

pub fn set_port(&mut self, v: i32)[src]

pub fn get_cores(&self) -> i32[src]

pub fn clear_cores(&mut self)[src]

pub fn set_cores(&mut self, v: i32)[src]

Trait Implementations

impl Clear for ServerStatus[src]

impl Clone for ServerStatus[src]

impl Debug for ServerStatus[src]

impl Default for ServerStatus[src]

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

impl Message for ServerStatus[src]

impl PartialEq<ServerStatus> for ServerStatus[src]

impl ProtobufValue for ServerStatus[src]

impl StructuralPartialEq for ServerStatus[src]

Auto Trait Implementations

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.