Struct kvproto::raft_serverpb::SnapshotCfFile[][src]

pub struct SnapshotCfFile {
    pub cf: String,
    pub size: u64,
    pub checksum: u32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

cf: Stringsize: u64checksum: u32unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SnapshotCfFile[src]

pub fn new() -> SnapshotCfFile[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_size(&self) -> u64[src]

pub fn clear_size(&mut self)[src]

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

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

pub fn clear_checksum(&mut self)[src]

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

Trait Implementations

impl Clear for SnapshotCfFile[src]

impl Clone for SnapshotCfFile[src]

impl Debug for SnapshotCfFile[src]

impl Default for SnapshotCfFile[src]

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

impl Message for SnapshotCfFile[src]

impl PartialEq<SnapshotCfFile> for SnapshotCfFile[src]

impl PbPrint for SnapshotCfFile[src]

impl ProtobufValue for SnapshotCfFile[src]

impl StructuralPartialEq for SnapshotCfFile[src]

Auto Trait Implementations

impl RefUnwindSafe for SnapshotCfFile

impl Send for SnapshotCfFile

impl Sync for SnapshotCfFile

impl Unpin for SnapshotCfFile

impl UnwindSafe for SnapshotCfFile

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.