Struct kvproto::raft_cmdpb::StatusRequest[][src]

pub struct StatusRequest {
    pub cmd_type: StatusCmdType,
    pub region_leader: SingularPtrField<RegionLeaderRequest>,
    pub region_detail: SingularPtrField<RegionDetailRequest>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

cmd_type: StatusCmdTyperegion_leader: SingularPtrField<RegionLeaderRequest>region_detail: SingularPtrField<RegionDetailRequest>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl StatusRequest[src]

pub fn new() -> StatusRequest[src]

pub fn get_cmd_type(&self) -> StatusCmdType[src]

pub fn clear_cmd_type(&mut self)[src]

pub fn set_cmd_type(&mut self, v: StatusCmdType)[src]

pub fn get_region_leader(&self) -> &RegionLeaderRequest[src]

pub fn clear_region_leader(&mut self)[src]

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

pub fn set_region_leader(&mut self, v: RegionLeaderRequest)[src]

pub fn mut_region_leader(&mut self) -> &mut RegionLeaderRequest[src]

pub fn take_region_leader(&mut self) -> RegionLeaderRequest[src]

pub fn get_region_detail(&self) -> &RegionDetailRequest[src]

pub fn clear_region_detail(&mut self)[src]

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

pub fn set_region_detail(&mut self, v: RegionDetailRequest)[src]

pub fn mut_region_detail(&mut self) -> &mut RegionDetailRequest[src]

pub fn take_region_detail(&mut self) -> RegionDetailRequest[src]

Trait Implementations

impl Clear for StatusRequest[src]

impl Clone for StatusRequest[src]

impl Debug for StatusRequest[src]

impl Default for StatusRequest[src]

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

impl Message for StatusRequest[src]

impl PartialEq<StatusRequest> for StatusRequest[src]

impl PbPrint for StatusRequest[src]

impl ProtobufValue for StatusRequest[src]

impl StructuralPartialEq for StatusRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for StatusRequest

impl Send for StatusRequest

impl Sync for StatusRequest

impl Unpin for StatusRequest

impl UnwindSafe for StatusRequest

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.