Struct kvproto::pdpb::TsoResponse[][src]

pub struct TsoResponse {
    pub header: SingularPtrField<ResponseHeader>,
    pub count: u32,
    pub timestamp: SingularPtrField<Timestamp>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<ResponseHeader>count: u32timestamp: SingularPtrField<Timestamp>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl TsoResponse[src]

pub fn new() -> TsoResponse[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_count(&self) -> u32[src]

pub fn clear_count(&mut self)[src]

pub fn set_count(&mut self, v: u32)[src]

pub fn get_timestamp(&self) -> &Timestamp[src]

pub fn clear_timestamp(&mut self)[src]

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

pub fn set_timestamp(&mut self, v: Timestamp)[src]

pub fn mut_timestamp(&mut self) -> &mut Timestamp[src]

pub fn take_timestamp(&mut self) -> Timestamp[src]

Trait Implementations

impl Clear for TsoResponse[src]

impl Clone for TsoResponse[src]

impl Debug for TsoResponse[src]

impl Default for TsoResponse[src]

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

impl Message for TsoResponse[src]

impl PartialEq<TsoResponse> for TsoResponse[src]

impl PbPrint for TsoResponse[src]

impl ProtobufValue for TsoResponse[src]

impl StructuralPartialEq for TsoResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for TsoResponse

impl Send for TsoResponse

impl Sync for TsoResponse

impl Unpin for TsoResponse

impl UnwindSafe for TsoResponse

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.