Struct kvproto::kvrpcpb::BatchGetRequest[][src]

pub struct BatchGetRequest {
    pub context: SingularPtrField<Context>,
    pub keys: RepeatedField<Vec<u8>>,
    pub version: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>keys: RepeatedField<Vec<u8>>version: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BatchGetRequest[src]

pub fn new() -> BatchGetRequest[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_keys(&self) -> &[Vec<u8>][src]

pub fn clear_keys(&mut self)[src]

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

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

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

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

pub fn clear_version(&mut self)[src]

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

Trait Implementations

impl Clear for BatchGetRequest[src]

impl Clone for BatchGetRequest[src]

impl Debug for BatchGetRequest[src]

impl Default for BatchGetRequest[src]

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

impl Message for BatchGetRequest[src]

impl PartialEq<BatchGetRequest> for BatchGetRequest[src]

impl PbPrint for BatchGetRequest[src]

impl ProtobufValue for BatchGetRequest[src]

impl StructuralPartialEq for BatchGetRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for BatchGetRequest

impl Send for BatchGetRequest

impl Sync for BatchGetRequest

impl Unpin for BatchGetRequest

impl UnwindSafe for BatchGetRequest

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.