Struct kvproto::raft_cmdpb::ChangePeerResponse[][src]

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

Fields

region: SingularPtrField<Region>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ChangePeerResponse[src]

pub fn new() -> ChangePeerResponse[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 ChangePeerResponse[src]

impl Clone for ChangePeerResponse[src]

impl Debug for ChangePeerResponse[src]

impl Default for ChangePeerResponse[src]

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

impl Message for ChangePeerResponse[src]

impl PartialEq<ChangePeerResponse> for ChangePeerResponse[src]

impl PbPrint for ChangePeerResponse[src]

impl ProtobufValue for ChangePeerResponse[src]

impl StructuralPartialEq for ChangePeerResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for ChangePeerResponse

impl Send for ChangePeerResponse

impl Sync for ChangePeerResponse

impl Unpin for ChangePeerResponse

impl UnwindSafe for ChangePeerResponse

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.