Struct kvproto::backup::BackupResponse[][src]

pub struct BackupResponse {
    pub error: SingularPtrField<Error>,
    pub start_key: Vec<u8>,
    pub end_key: Vec<u8>,
    pub files: RepeatedField<File>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

error: SingularPtrField<Error>start_key: Vec<u8>end_key: Vec<u8>files: RepeatedField<File>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BackupResponse[src]

pub fn new() -> BackupResponse[src]

pub fn get_error(&self) -> &Error[src]

pub fn clear_error(&mut self)[src]

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

pub fn set_error(&mut self, v: Error)[src]

pub fn mut_error(&mut self) -> &mut Error[src]

pub fn take_error(&mut self) -> Error[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_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]

Trait Implementations

impl Clear for BackupResponse[src]

impl Clone for BackupResponse[src]

impl Debug for BackupResponse[src]

impl Default for BackupResponse[src]

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

impl Message for BackupResponse[src]

impl PartialEq<BackupResponse> for BackupResponse[src]

impl PbPrint for BackupResponse[src]

impl ProtobufValue for BackupResponse[src]

impl StructuralPartialEq for BackupResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for BackupResponse

impl Send for BackupResponse

impl Sync for BackupResponse

impl Unpin for BackupResponse

impl UnwindSafe for BackupResponse

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.