[][src]Struct etcdv3client::pb::CompactionRequest

pub struct CompactionRequest {
    pub revision: i64,
    pub physical: bool,
}

CompactionRequest compacts the key-value store up to a given revision. All superseded keys with a revision less than the compaction revision will be removed.

Fields

revision: i64

revision is the key-value store revision for the compaction operation.

physical: bool

physical is set so the RPC will wait until the compaction is physically applied to the local database such that compacted entries are totally removed from the backend database.

Trait Implementations

impl Clone for CompactionRequest[src]

impl Default for CompactionRequest[src]

impl PartialEq<CompactionRequest> for CompactionRequest[src]

impl Debug for CompactionRequest[src]

impl StructuralPartialEq for CompactionRequest[src]

impl Message for CompactionRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> IntoRequest<T> for T[src]