Struct kvproto::raft_cmdpb::DeleteRangeRequest[][src]

pub struct DeleteRangeRequest {
    pub cf: String,
    pub start_key: Vec<u8>,
    pub end_key: Vec<u8>,
    pub notify_only: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

cf: Stringstart_key: Vec<u8>end_key: Vec<u8>notify_only: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DeleteRangeRequest[src]

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

pub fn clear_start_key(&mut self)[src]

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

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

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

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

pub fn clear_end_key(&mut self)[src]

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

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

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

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

pub fn clear_notify_only(&mut self)[src]

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

Trait Implementations

impl Clear for DeleteRangeRequest[src]

impl Clone for DeleteRangeRequest[src]

impl Debug for DeleteRangeRequest[src]

impl Default for DeleteRangeRequest[src]

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

impl Message for DeleteRangeRequest[src]

impl PartialEq<DeleteRangeRequest> for DeleteRangeRequest[src]

impl PbPrint for DeleteRangeRequest[src]

impl ProtobufValue for DeleteRangeRequest[src]

impl StructuralPartialEq for DeleteRangeRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for DeleteRangeRequest

impl Send for DeleteRangeRequest

impl Sync for DeleteRangeRequest

impl Unpin for DeleteRangeRequest

impl UnwindSafe for DeleteRangeRequest

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.