Struct kvproto::raft_serverpb::SnapshotMeta [−][src]
Fields
cf_files: RepeatedField<SnapshotCfFile>
for_balance: bool
unknown_fields: UnknownFields
cached_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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,