Struct kvproto::kvrpcpb::RawBatchPutRequest[][src]

pub struct RawBatchPutRequest {
    pub context: SingularPtrField<Context>,
    pub pairs: RepeatedField<KvPair>,
    pub cf: String,
    pub ttl: u64,
    pub for_cas: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>pairs: RepeatedField<KvPair>cf: Stringttl: u64for_cas: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RawBatchPutRequest[src]

pub fn new() -> RawBatchPutRequest[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_pairs(&self) -> &[KvPair][src]

pub fn clear_pairs(&mut self)[src]

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

pub fn mut_pairs(&mut self) -> &mut RepeatedField<KvPair>[src]

pub fn take_pairs(&mut self) -> RepeatedField<KvPair>[src]

pub fn get_cf(&self) -> &str[src]

pub fn clear_cf(&mut self)[src]

pub fn set_cf(&mut self, v: String)[src]

pub fn mut_cf(&mut self) -> &mut String[src]

pub fn take_cf(&mut self) -> String[src]

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

pub fn clear_ttl(&mut self)[src]

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

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

pub fn clear_for_cas(&mut self)[src]

pub fn set_for_cas(&mut self, v: bool)[src]

Trait Implementations

impl Clear for RawBatchPutRequest[src]

impl Clone for RawBatchPutRequest[src]

impl Debug for RawBatchPutRequest[src]

impl Default for RawBatchPutRequest[src]

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

impl Message for RawBatchPutRequest[src]

impl PartialEq<RawBatchPutRequest> for RawBatchPutRequest[src]

impl PbPrint for RawBatchPutRequest[src]

impl ProtobufValue for RawBatchPutRequest[src]

impl StructuralPartialEq for RawBatchPutRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for RawBatchPutRequest

impl Send for RawBatchPutRequest

impl Sync for RawBatchPutRequest

impl Unpin for RawBatchPutRequest

impl UnwindSafe for RawBatchPutRequest

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.