Struct kvproto::debugpb::RegionInfoResponse[][src]

pub struct RegionInfoResponse {
    pub raft_local_state: SingularPtrField<RaftLocalState>,
    pub raft_apply_state: SingularPtrField<RaftApplyState>,
    pub region_local_state: SingularPtrField<RegionLocalState>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

raft_local_state: SingularPtrField<RaftLocalState>raft_apply_state: SingularPtrField<RaftApplyState>region_local_state: SingularPtrField<RegionLocalState>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RegionInfoResponse[src]

pub fn new() -> RegionInfoResponse[src]

pub fn get_raft_local_state(&self) -> &RaftLocalState[src]

pub fn clear_raft_local_state(&mut self)[src]

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

pub fn set_raft_local_state(&mut self, v: RaftLocalState)[src]

pub fn mut_raft_local_state(&mut self) -> &mut RaftLocalState[src]

pub fn take_raft_local_state(&mut self) -> RaftLocalState[src]

pub fn get_raft_apply_state(&self) -> &RaftApplyState[src]

pub fn clear_raft_apply_state(&mut self)[src]

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

pub fn set_raft_apply_state(&mut self, v: RaftApplyState)[src]

pub fn mut_raft_apply_state(&mut self) -> &mut RaftApplyState[src]

pub fn take_raft_apply_state(&mut self) -> RaftApplyState[src]

pub fn get_region_local_state(&self) -> &RegionLocalState[src]

pub fn clear_region_local_state(&mut self)[src]

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

pub fn set_region_local_state(&mut self, v: RegionLocalState)[src]

pub fn mut_region_local_state(&mut self) -> &mut RegionLocalState[src]

pub fn take_region_local_state(&mut self) -> RegionLocalState[src]

Trait Implementations

impl Clear for RegionInfoResponse[src]

impl Clone for RegionInfoResponse[src]

impl Debug for RegionInfoResponse[src]

impl Default for RegionInfoResponse[src]

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

impl Message for RegionInfoResponse[src]

impl PartialEq<RegionInfoResponse> for RegionInfoResponse[src]

impl PbPrint for RegionInfoResponse[src]

impl ProtobufValue for RegionInfoResponse[src]

impl StructuralPartialEq for RegionInfoResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for RegionInfoResponse

impl Send for RegionInfoResponse

impl Sync for RegionInfoResponse

impl Unpin for RegionInfoResponse

impl UnwindSafe for RegionInfoResponse

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.