Struct kvproto::backup::File[][src]

pub struct File {
    pub name: String,
    pub sha256: Vec<u8>,
    pub start_key: Vec<u8>,
    pub end_key: Vec<u8>,
    pub start_version: u64,
    pub end_version: u64,
    pub crc64xor: u64,
    pub total_kvs: u64,
    pub total_bytes: u64,
    pub cf: String,
    pub size: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

name: Stringsha256: Vec<u8>start_key: Vec<u8>end_key: Vec<u8>start_version: u64end_version: u64crc64xor: u64total_kvs: u64total_bytes: u64cf: Stringsize: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl File[src]

pub fn new() -> File[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_name(&mut self)[src]

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_sha256(&self) -> &[u8][src]

pub fn clear_sha256(&mut self)[src]

pub fn set_sha256(&mut self, v: Vec<u8>)[src]

pub fn mut_sha256(&mut self) -> &mut Vec<u8>[src]

pub fn take_sha256(&mut self) -> Vec<u8>[src]

pub fn get_start_key(&self) -> &[u8][src]

pub fn clear_start_key(&mut self)[src]

pub fn set_start_key(&mut self, v: Vec<u8>)[src]

pub fn mut_start_key(&mut self) -> &mut Vec<u8>[src]

pub fn take_start_key(&mut self) -> Vec<u8>[src]

pub fn get_end_key(&self) -> &[u8][src]

pub fn clear_end_key(&mut self)[src]

pub fn set_end_key(&mut self, v: Vec<u8>)[src]

pub fn mut_end_key(&mut self) -> &mut Vec<u8>[src]

pub fn take_end_key(&mut self) -> Vec<u8>[src]

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

pub fn clear_start_version(&mut self)[src]

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

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

pub fn clear_end_version(&mut self)[src]

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

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

pub fn clear_crc64xor(&mut self)[src]

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

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

pub fn clear_total_kvs(&mut self)[src]

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

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

pub fn clear_total_bytes(&mut self)[src]

pub fn set_total_bytes(&mut self, v: u64)[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]

Trait Implementations

impl Clear for File[src]

impl Clone for File[src]

impl Debug for File[src]

impl Default for File[src]

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

impl Message for File[src]

impl PartialEq<File> for File[src]

impl PbPrint for File[src]

impl ProtobufValue for File[src]

impl StructuralPartialEq for File[src]

Auto Trait Implementations

impl RefUnwindSafe for File

impl Send for File

impl Sync for File

impl Unpin for File

impl UnwindSafe for File

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.