Struct kvproto::kvrpcpb::SplitRegionResponse[][src]

pub struct SplitRegionResponse {
    pub region_error: SingularPtrField<Error>,
    pub left: SingularPtrField<Region>,
    pub right: SingularPtrField<Region>,
    pub regions: RepeatedField<Region>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

region_error: SingularPtrField<Error>left: SingularPtrField<Region>right: SingularPtrField<Region>regions: RepeatedField<Region>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SplitRegionResponse[src]

pub fn new() -> SplitRegionResponse[src]

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

pub fn clear_region_error(&mut self)[src]

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

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

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

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

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

pub fn clear_left(&mut self)[src]

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

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

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

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

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

pub fn clear_right(&mut self)[src]

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

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

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

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

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

pub fn clear_regions(&mut self)[src]

pub fn set_regions(&mut self, v: RepeatedField<Region>)[src]

pub fn mut_regions(&mut self) -> &mut RepeatedField<Region>[src]

pub fn take_regions(&mut self) -> RepeatedField<Region>[src]

Trait Implementations

impl Clear for SplitRegionResponse[src]

impl Clone for SplitRegionResponse[src]

impl Debug for SplitRegionResponse[src]

impl Default for SplitRegionResponse[src]

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

impl Message for SplitRegionResponse[src]

impl PartialEq<SplitRegionResponse> for SplitRegionResponse[src]

impl PbPrint for SplitRegionResponse[src]

impl ProtobufValue for SplitRegionResponse[src]

impl StructuralPartialEq for SplitRegionResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for SplitRegionResponse

impl Send for SplitRegionResponse

impl Sync for SplitRegionResponse

impl Unpin for SplitRegionResponse

impl UnwindSafe for SplitRegionResponse

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.