Struct kvproto::debugpb::GetMetricsResponse[][src]

pub struct GetMetricsResponse {
    pub prometheus: String,
    pub rocksdb_kv: String,
    pub rocksdb_raft: String,
    pub jemalloc: String,
    pub store_id: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

prometheus: Stringrocksdb_kv: Stringrocksdb_raft: Stringjemalloc: Stringstore_id: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl GetMetricsResponse[src]

pub fn new() -> GetMetricsResponse[src]

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

pub fn clear_prometheus(&mut self)[src]

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

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

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

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

pub fn clear_rocksdb_kv(&mut self)[src]

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

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

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

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

pub fn clear_rocksdb_raft(&mut self)[src]

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

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

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

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

pub fn clear_jemalloc(&mut self)[src]

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

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

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

pub fn get_store_id(&self) -> u64[src]

pub fn clear_store_id(&mut self)[src]

pub fn set_store_id(&mut self, v: u64)[src]

Trait Implementations

impl Clear for GetMetricsResponse[src]

impl Clone for GetMetricsResponse[src]

impl Debug for GetMetricsResponse[src]

impl Default for GetMetricsResponse[src]

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

impl Message for GetMetricsResponse[src]

impl PartialEq<GetMetricsResponse> for GetMetricsResponse[src]

impl PbPrint for GetMetricsResponse[src]

impl ProtobufValue for GetMetricsResponse[src]

impl StructuralPartialEq for GetMetricsResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for GetMetricsResponse

impl Send for GetMetricsResponse

impl Sync for GetMetricsResponse

impl Unpin for GetMetricsResponse

impl UnwindSafe for GetMetricsResponse

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.