Struct kvproto::coprocessor::BatchRequest[][src]

pub struct BatchRequest {
    pub context: SingularPtrField<Context>,
    pub tp: i64,
    pub data: Vec<u8>,
    pub regions: RepeatedField<RegionInfo>,
    pub start_ts: u64,
    pub schema_ver: i64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>tp: i64data: Vec<u8>regions: RepeatedField<RegionInfo>start_ts: u64schema_ver: i64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BatchRequest[src]

pub fn new() -> BatchRequest[src]

pub fn get_context(&self) -> &Context[src]

pub fn clear_context(&mut self)[src]

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

pub fn set_context(&mut self, v: Context)[src]

pub fn mut_context(&mut self) -> &mut Context[src]

pub fn take_context(&mut self) -> Context[src]

pub fn get_tp(&self) -> i64[src]

pub fn clear_tp(&mut self)[src]

pub fn set_tp(&mut self, v: i64)[src]

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

pub fn clear_data(&mut self)[src]

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

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

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

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

pub fn clear_regions(&mut self)[src]

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

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

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

pub fn get_start_ts(&self) -> u64[src]

pub fn clear_start_ts(&mut self)[src]

pub fn set_start_ts(&mut self, v: u64)[src]

pub fn get_schema_ver(&self) -> i64[src]

pub fn clear_schema_ver(&mut self)[src]

pub fn set_schema_ver(&mut self, v: i64)[src]

Trait Implementations

impl Clear for BatchRequest[src]

impl Clone for BatchRequest[src]

impl Debug for BatchRequest[src]

impl Default for BatchRequest[src]

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

impl Message for BatchRequest[src]

impl PartialEq<BatchRequest> for BatchRequest[src]

impl PbPrint for BatchRequest[src]

impl ProtobufValue for BatchRequest[src]

impl StructuralPartialEq for BatchRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for BatchRequest

impl Send for BatchRequest

impl Sync for BatchRequest

impl Unpin for BatchRequest

impl UnwindSafe for BatchRequest

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.