Struct kvproto::raft_serverpb::SnapshotMeta[][src]

pub struct SnapshotMeta {
    pub cf_files: RepeatedField<SnapshotCfFile>,
    pub for_balance: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

cf_files: RepeatedField<SnapshotCfFile>for_balance: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SnapshotMeta[src]

pub fn new() -> SnapshotMeta[src]

pub fn get_cf_files(&self) -> &[SnapshotCfFile][src]

pub fn clear_cf_files(&mut self)[src]

pub fn set_cf_files(&mut self, v: RepeatedField<SnapshotCfFile>)[src]

pub fn mut_cf_files(&mut self) -> &mut RepeatedField<SnapshotCfFile>[src]

pub fn take_cf_files(&mut self) -> RepeatedField<SnapshotCfFile>[src]

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

pub fn clear_for_balance(&mut self)[src]

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

Trait Implementations

impl Clear for SnapshotMeta[src]

impl Clone for SnapshotMeta[src]

impl Debug for SnapshotMeta[src]

impl Default for SnapshotMeta[src]

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

impl Message for SnapshotMeta[src]

impl PartialEq<SnapshotMeta> for SnapshotMeta[src]

impl PbPrint for SnapshotMeta[src]

impl ProtobufValue for SnapshotMeta[src]

impl StructuralPartialEq for SnapshotMeta[src]

Auto Trait Implementations

impl RefUnwindSafe for SnapshotMeta

impl Send for SnapshotMeta

impl Sync for SnapshotMeta

impl Unpin for SnapshotMeta

impl UnwindSafe for SnapshotMeta

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.