Struct kvproto::kvrpcpb::RawPutRequest[][src]

pub struct RawPutRequest {
    pub context: SingularPtrField<Context>,
    pub key: Vec<u8>,
    pub value: Vec<u8>,
    pub cf: String,
    pub ttl: u64,
    pub for_cas: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>key: Vec<u8>value: Vec<u8>cf: Stringttl: u64for_cas: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RawPutRequest[src]

pub fn new() -> RawPutRequest[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_key(&self) -> &[u8][src]

pub fn clear_key(&mut self)[src]

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

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

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

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

pub fn clear_value(&mut self)[src]

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

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

pub fn take_value(&mut self) -> Vec<u8>[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 RawPutRequest[src]

impl Clone for RawPutRequest[src]

impl Debug for RawPutRequest[src]

impl Default for RawPutRequest[src]

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

impl Message for RawPutRequest[src]

impl PartialEq<RawPutRequest> for RawPutRequest[src]

impl PbPrint for RawPutRequest[src]

impl ProtobufValue for RawPutRequest[src]

impl StructuralPartialEq for RawPutRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for RawPutRequest

impl Send for RawPutRequest

impl Sync for RawPutRequest

impl Unpin for RawPutRequest

impl UnwindSafe for RawPutRequest

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.