Struct kvproto::pdpb::StoreHeartbeatRequest[][src]

pub struct StoreHeartbeatRequest {
    pub header: SingularPtrField<RequestHeader>,
    pub stats: SingularPtrField<StoreStats>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<RequestHeader>stats: SingularPtrField<StoreStats>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl StoreHeartbeatRequest[src]

pub fn new() -> StoreHeartbeatRequest[src]

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

pub fn clear_header(&mut self)[src]

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

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

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

pub fn take_header(&mut self) -> RequestHeader[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 StoreHeartbeatRequest[src]

impl Clone for StoreHeartbeatRequest[src]

impl Debug for StoreHeartbeatRequest[src]

impl Default for StoreHeartbeatRequest[src]

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

impl Message for StoreHeartbeatRequest[src]

impl PartialEq<StoreHeartbeatRequest> for StoreHeartbeatRequest[src]

impl PbPrint for StoreHeartbeatRequest[src]

impl ProtobufValue for StoreHeartbeatRequest[src]

impl StructuralPartialEq for StoreHeartbeatRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for StoreHeartbeatRequest

impl Send for StoreHeartbeatRequest

impl Sync for StoreHeartbeatRequest

impl Unpin for StoreHeartbeatRequest

impl UnwindSafe for StoreHeartbeatRequest

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.