Struct kvproto::raft_cmdpb::CompactLogRequest[][src]

pub struct CompactLogRequest {
    pub compact_index: u64,
    pub compact_term: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

compact_index: u64compact_term: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CompactLogRequest[src]

pub fn new() -> CompactLogRequest[src]

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

pub fn clear_compact_index(&mut self)[src]

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

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

pub fn clear_compact_term(&mut self)[src]

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

Trait Implementations

impl Clear for CompactLogRequest[src]

impl Clone for CompactLogRequest[src]

impl Debug for CompactLogRequest[src]

impl Default for CompactLogRequest[src]

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

impl Message for CompactLogRequest[src]

impl PartialEq<CompactLogRequest> for CompactLogRequest[src]

impl PbPrint for CompactLogRequest[src]

impl ProtobufValue for CompactLogRequest[src]

impl StructuralPartialEq for CompactLogRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CompactLogRequest

impl Send for CompactLogRequest

impl Sync for CompactLogRequest

impl Unpin for CompactLogRequest

impl UnwindSafe for CompactLogRequest

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.