Struct kvproto::kvrpcpb::KeyRange[][src]

pub struct KeyRange {
    pub start_key: Vec<u8>,
    pub end_key: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

start_key: Vec<u8>end_key: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl KeyRange[src]

pub fn new() -> KeyRange[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]

Trait Implementations

impl Clear for KeyRange[src]

impl Clone for KeyRange[src]

impl Debug for KeyRange[src]

impl Default for KeyRange[src]

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

impl Message for KeyRange[src]

impl PartialEq<KeyRange> for KeyRange[src]

impl PbPrint for KeyRange[src]

impl ProtobufValue for KeyRange[src]

impl StructuralPartialEq for KeyRange[src]

Auto Trait Implementations

impl RefUnwindSafe for KeyRange

impl Send for KeyRange

impl Sync for KeyRange

impl Unpin for KeyRange

impl UnwindSafe for KeyRange

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.