Struct kvproto::backup::ExternalStorageRestoreRequest[][src]

pub struct ExternalStorageRestoreRequest {
    pub storage_backend: SingularPtrField<StorageBackend>,
    pub object_name: String,
    pub restore_name: String,
    pub content_length: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

storage_backend: SingularPtrField<StorageBackend>object_name: Stringrestore_name: Stringcontent_length: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ExternalStorageRestoreRequest[src]

pub fn new() -> ExternalStorageRestoreRequest[src]

pub fn get_storage_backend(&self) -> &StorageBackend[src]

pub fn clear_storage_backend(&mut self)[src]

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

pub fn set_storage_backend(&mut self, v: StorageBackend)[src]

pub fn mut_storage_backend(&mut self) -> &mut StorageBackend[src]

pub fn take_storage_backend(&mut self) -> StorageBackend[src]

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

pub fn clear_object_name(&mut self)[src]

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

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

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

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

pub fn clear_restore_name(&mut self)[src]

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

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

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

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

pub fn clear_content_length(&mut self)[src]

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

Trait Implementations

impl Clear for ExternalStorageRestoreRequest[src]

impl Clone for ExternalStorageRestoreRequest[src]

impl Debug for ExternalStorageRestoreRequest[src]

impl Default for ExternalStorageRestoreRequest[src]

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

impl Message for ExternalStorageRestoreRequest[src]

impl PartialEq<ExternalStorageRestoreRequest> for ExternalStorageRestoreRequest[src]

impl PbPrint for ExternalStorageRestoreRequest[src]

impl ProtobufValue for ExternalStorageRestoreRequest[src]

impl StructuralPartialEq for ExternalStorageRestoreRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ExternalStorageRestoreRequest

impl Send for ExternalStorageRestoreRequest

impl Sync for ExternalStorageRestoreRequest

impl Unpin for ExternalStorageRestoreRequest

impl UnwindSafe for ExternalStorageRestoreRequest

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.