Struct kvproto::pdpb::ScanRegionsResponse[][src]

pub struct ScanRegionsResponse {
    pub header: SingularPtrField<ResponseHeader>,
    pub region_metas: RepeatedField<Region>,
    pub leaders: RepeatedField<Peer>,
    pub regions: RepeatedField<Region>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<ResponseHeader>region_metas: RepeatedField<Region>leaders: RepeatedField<Peer>regions: RepeatedField<Region>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ScanRegionsResponse[src]

pub fn new() -> ScanRegionsResponse[src]

pub fn get_header(&self) -> &ResponseHeader[src]

pub fn clear_header(&mut self)[src]

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

pub fn set_header(&mut self, v: ResponseHeader)[src]

pub fn mut_header(&mut self) -> &mut ResponseHeader[src]

pub fn take_header(&mut self) -> ResponseHeader[src]

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

pub fn clear_region_metas(&mut self)[src]

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

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

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

pub fn get_leaders(&self) -> &[Peer][src]

pub fn clear_leaders(&mut self)[src]

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

pub fn mut_leaders(&mut self) -> &mut RepeatedField<Peer>[src]

pub fn take_leaders(&mut self) -> RepeatedField<Peer>[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 ScanRegionsResponse[src]

impl Clone for ScanRegionsResponse[src]

impl Debug for ScanRegionsResponse[src]

impl Default for ScanRegionsResponse[src]

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

impl Message for ScanRegionsResponse[src]

impl PartialEq<ScanRegionsResponse> for ScanRegionsResponse[src]

impl PbPrint for ScanRegionsResponse[src]

impl ProtobufValue for ScanRegionsResponse[src]

impl StructuralPartialEq for ScanRegionsResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for ScanRegionsResponse

impl Send for ScanRegionsResponse

impl Sync for ScanRegionsResponse

impl Unpin for ScanRegionsResponse

impl UnwindSafe for ScanRegionsResponse

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.