Struct kvproto::raft_cmdpb::SnapResponse[][src]

pub struct SnapResponse {
    pub region: SingularPtrField<Region>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

region: SingularPtrField<Region>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SnapResponse[src]

pub fn new() -> SnapResponse[src]

pub fn get_region(&self) -> &Region[src]

pub fn clear_region(&mut self)[src]

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

pub fn set_region(&mut self, v: Region)[src]

pub fn mut_region(&mut self) -> &mut Region[src]

pub fn take_region(&mut self) -> Region[src]

Trait Implementations

impl Clear for SnapResponse[src]

impl Clone for SnapResponse[src]

impl Debug for SnapResponse[src]

impl Default for SnapResponse[src]

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

impl Message for SnapResponse[src]

impl PartialEq<SnapResponse> for SnapResponse[src]

impl PbPrint for SnapResponse[src]

impl ProtobufValue for SnapResponse[src]

impl StructuralPartialEq for SnapResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for SnapResponse

impl Send for SnapResponse

impl Sync for SnapResponse

impl Unpin for SnapResponse

impl UnwindSafe for SnapResponse

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.