Struct kvproto::pdpb::ScanRegionsRequest[][src]

pub struct ScanRegionsRequest {
    pub header: SingularPtrField<RequestHeader>,
    pub start_key: Vec<u8>,
    pub limit: i32,
    pub end_key: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<RequestHeader>start_key: Vec<u8>limit: i32end_key: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ScanRegionsRequest[src]

pub fn new() -> ScanRegionsRequest[src]

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

pub fn clear_header(&mut self)[src]

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

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

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

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

pub fn get_start_key(&self) -> &[u8][src]

pub fn clear_start_key(&mut self)[src]

pub fn set_start_key(&mut self, v: Vec<u8>)[src]

pub fn mut_start_key(&mut self) -> &mut Vec<u8>[src]

pub fn take_start_key(&mut self) -> Vec<u8>[src]

pub fn get_limit(&self) -> i32[src]

pub fn clear_limit(&mut self)[src]

pub fn set_limit(&mut self, v: i32)[src]

pub fn get_end_key(&self) -> &[u8][src]

pub fn clear_end_key(&mut self)[src]

pub fn set_end_key(&mut self, v: Vec<u8>)[src]

pub fn mut_end_key(&mut self) -> &mut Vec<u8>[src]

pub fn take_end_key(&mut self) -> Vec<u8>[src]

Trait Implementations

impl Clear for ScanRegionsRequest[src]

impl Clone for ScanRegionsRequest[src]

impl Debug for ScanRegionsRequest[src]

impl Default for ScanRegionsRequest[src]

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

impl Message for ScanRegionsRequest[src]

impl PartialEq<ScanRegionsRequest> for ScanRegionsRequest[src]

impl PbPrint for ScanRegionsRequest[src]

impl ProtobufValue for ScanRegionsRequest[src]

impl StructuralPartialEq for ScanRegionsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ScanRegionsRequest

impl Send for ScanRegionsRequest

impl Sync for ScanRegionsRequest

impl Unpin for ScanRegionsRequest

impl UnwindSafe for ScanRegionsRequest

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.