Struct kvproto::backup::BackupMeta[][src]

pub struct BackupMeta {
    pub cluster_id: u64,
    pub cluster_version: String,
    pub files: RepeatedField<File>,
    pub start_version: u64,
    pub end_version: u64,
    pub schemas: RepeatedField<Schema>,
    pub is_raw_kv: bool,
    pub raw_ranges: RepeatedField<RawRange>,
    pub ddls: Vec<u8>,
    pub br_version: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

cluster_id: u64cluster_version: Stringfiles: RepeatedField<File>start_version: u64end_version: u64schemas: RepeatedField<Schema>is_raw_kv: boolraw_ranges: RepeatedField<RawRange>ddls: Vec<u8>br_version: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BackupMeta[src]

pub fn new() -> BackupMeta[src]

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

pub fn clear_cluster_id(&mut self)[src]

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

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

pub fn clear_cluster_version(&mut self)[src]

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

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

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

pub fn get_files(&self) -> &[File][src]

pub fn clear_files(&mut self)[src]

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

pub fn mut_files(&mut self) -> &mut RepeatedField<File>[src]

pub fn take_files(&mut self) -> RepeatedField<File>[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_schemas(&self) -> &[Schema][src]

pub fn clear_schemas(&mut self)[src]

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

pub fn mut_schemas(&mut self) -> &mut RepeatedField<Schema>[src]

pub fn take_schemas(&mut self) -> RepeatedField<Schema>[src]

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

pub fn clear_is_raw_kv(&mut self)[src]

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

pub fn get_raw_ranges(&self) -> &[RawRange][src]

pub fn clear_raw_ranges(&mut self)[src]

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

pub fn mut_raw_ranges(&mut self) -> &mut RepeatedField<RawRange>[src]

pub fn take_raw_ranges(&mut self) -> RepeatedField<RawRange>[src]

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

pub fn clear_ddls(&mut self)[src]

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

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

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

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

pub fn clear_br_version(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for BackupMeta[src]

impl Clone for BackupMeta[src]

impl Debug for BackupMeta[src]

impl Default for BackupMeta[src]

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

impl Message for BackupMeta[src]

impl PartialEq<BackupMeta> for BackupMeta[src]

impl PbPrint for BackupMeta[src]

impl ProtobufValue for BackupMeta[src]

impl StructuralPartialEq for BackupMeta[src]

Auto Trait Implementations

impl RefUnwindSafe for BackupMeta

impl Send for BackupMeta

impl Sync for BackupMeta

impl Unpin for BackupMeta

impl UnwindSafe for BackupMeta

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.