Struct kvproto::pdpb::ResponseHeader[][src]

pub struct ResponseHeader {
    pub cluster_id: u64,
    pub error: SingularPtrField<Error>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

cluster_id: u64error: SingularPtrField<Error>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ResponseHeader[src]

pub fn new() -> ResponseHeader[src]

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

pub fn clear_cluster_id(&mut self)[src]

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

pub fn get_error(&self) -> &Error[src]

pub fn clear_error(&mut self)[src]

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

pub fn set_error(&mut self, v: Error)[src]

pub fn mut_error(&mut self) -> &mut Error[src]

pub fn take_error(&mut self) -> Error[src]

Trait Implementations

impl Clear for ResponseHeader[src]

impl Clone for ResponseHeader[src]

impl Debug for ResponseHeader[src]

impl Default for ResponseHeader[src]

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

impl Message for ResponseHeader[src]

impl PartialEq<ResponseHeader> for ResponseHeader[src]

impl PbPrint for ResponseHeader[src]

impl ProtobufValue for ResponseHeader[src]

impl StructuralPartialEq for ResponseHeader[src]

Auto Trait Implementations

impl RefUnwindSafe for ResponseHeader

impl Send for ResponseHeader

impl Sync for ResponseHeader

impl Unpin for ResponseHeader

impl UnwindSafe for ResponseHeader

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.