Struct kvproto::debugpb::CompactRequest[][src]

pub struct CompactRequest {
    pub db: Db,
    pub cf: String,
    pub from_key: Vec<u8>,
    pub to_key: Vec<u8>,
    pub threads: u32,
    pub bottommost_level_compaction: BottommostLevelCompaction,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

db: Dbcf: Stringfrom_key: Vec<u8>to_key: Vec<u8>threads: u32bottommost_level_compaction: BottommostLevelCompactionunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CompactRequest[src]

pub fn new() -> CompactRequest[src]

pub fn get_db(&self) -> Db[src]

pub fn clear_db(&mut self)[src]

pub fn set_db(&mut self, v: Db)[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_from_key(&self) -> &[u8][src]

pub fn clear_from_key(&mut self)[src]

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

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

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

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

pub fn clear_to_key(&mut self)[src]

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

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

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

pub fn get_threads(&self) -> u32[src]

pub fn clear_threads(&mut self)[src]

pub fn set_threads(&mut self, v: u32)[src]

pub fn get_bottommost_level_compaction(&self) -> BottommostLevelCompaction[src]

pub fn clear_bottommost_level_compaction(&mut self)[src]

pub fn set_bottommost_level_compaction(&mut self, v: BottommostLevelCompaction)[src]

Trait Implementations

impl Clear for CompactRequest[src]

impl Clone for CompactRequest[src]

impl Debug for CompactRequest[src]

impl Default for CompactRequest[src]

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

impl Message for CompactRequest[src]

impl PartialEq<CompactRequest> for CompactRequest[src]

impl PbPrint for CompactRequest[src]

impl ProtobufValue for CompactRequest[src]

impl StructuralPartialEq for CompactRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CompactRequest

impl Send for CompactRequest

impl Sync for CompactRequest

impl Unpin for CompactRequest

impl UnwindSafe for CompactRequest

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.