Struct kvproto::kvrpcpb::CleanupRequest[][src]

pub struct CleanupRequest {
    pub context: SingularPtrField<Context>,
    pub key: Vec<u8>,
    pub start_version: u64,
    pub current_ts: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>key: Vec<u8>start_version: u64current_ts: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CleanupRequest[src]

pub fn new() -> CleanupRequest[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_start_version(&self) -> u64[src]

pub fn clear_start_version(&mut self)[src]

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

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

pub fn clear_current_ts(&mut self)[src]

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

Trait Implementations

impl Clear for CleanupRequest[src]

impl Clone for CleanupRequest[src]

impl Debug for CleanupRequest[src]

impl Default for CleanupRequest[src]

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

impl Message for CleanupRequest[src]

impl PartialEq<CleanupRequest> for CleanupRequest[src]

impl PbPrint for CleanupRequest[src]

impl ProtobufValue for CleanupRequest[src]

impl StructuralPartialEq for CleanupRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CleanupRequest

impl Send for CleanupRequest

impl Sync for CleanupRequest

impl Unpin for CleanupRequest

impl UnwindSafe for CleanupRequest

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.