Struct kvproto::pdpb::GetStoreResponse[][src]

pub struct GetStoreResponse {
    pub header: SingularPtrField<ResponseHeader>,
    pub store: SingularPtrField<Store>,
    pub stats: SingularPtrField<StoreStats>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<ResponseHeader>store: SingularPtrField<Store>stats: SingularPtrField<StoreStats>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl GetStoreResponse[src]

pub fn new() -> GetStoreResponse[src]

pub fn get_header(&self) -> &ResponseHeader[src]

pub fn clear_header(&mut self)[src]

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

pub fn set_header(&mut self, v: ResponseHeader)[src]

pub fn mut_header(&mut self) -> &mut ResponseHeader[src]

pub fn take_header(&mut self) -> ResponseHeader[src]

pub fn get_store(&self) -> &Store[src]

pub fn clear_store(&mut self)[src]

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

pub fn set_store(&mut self, v: Store)[src]

pub fn mut_store(&mut self) -> &mut Store[src]

pub fn take_store(&mut self) -> Store[src]

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

pub fn clear_stats(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for GetStoreResponse[src]

impl Clone for GetStoreResponse[src]

impl Debug for GetStoreResponse[src]

impl Default for GetStoreResponse[src]

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

impl Message for GetStoreResponse[src]

impl PartialEq<GetStoreResponse> for GetStoreResponse[src]

impl PbPrint for GetStoreResponse[src]

impl ProtobufValue for GetStoreResponse[src]

impl StructuralPartialEq for GetStoreResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for GetStoreResponse

impl Send for GetStoreResponse

impl Sync for GetStoreResponse

impl Unpin for GetStoreResponse

impl UnwindSafe for GetStoreResponse

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.