Struct kvproto::import_sstpb::DownloadRequest[][src]

pub struct DownloadRequest {
    pub sst: SingularPtrField<SstMeta>,
    pub name: String,
    pub rewrite_rule: SingularPtrField<RewriteRule>,
    pub storage_backend: SingularPtrField<StorageBackend>,
    pub is_raw_kv: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

sst: SingularPtrField<SstMeta>name: Stringrewrite_rule: SingularPtrField<RewriteRule>storage_backend: SingularPtrField<StorageBackend>is_raw_kv: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DownloadRequest[src]

pub fn new() -> DownloadRequest[src]

pub fn get_sst(&self) -> &SstMeta[src]

pub fn clear_sst(&mut self)[src]

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

pub fn set_sst(&mut self, v: SstMeta)[src]

pub fn mut_sst(&mut self) -> &mut SstMeta[src]

pub fn take_sst(&mut self) -> SstMeta[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_rewrite_rule(&self) -> &RewriteRule[src]

pub fn clear_rewrite_rule(&mut self)[src]

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

pub fn set_rewrite_rule(&mut self, v: RewriteRule)[src]

pub fn mut_rewrite_rule(&mut self) -> &mut RewriteRule[src]

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

Trait Implementations

impl Clear for DownloadRequest[src]

impl Clone for DownloadRequest[src]

impl Debug for DownloadRequest[src]

impl Default for DownloadRequest[src]

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

impl Message for DownloadRequest[src]

impl PartialEq<DownloadRequest> for DownloadRequest[src]

impl PbPrint for DownloadRequest[src]

impl ProtobufValue for DownloadRequest[src]

impl StructuralPartialEq for DownloadRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for DownloadRequest

impl Send for DownloadRequest

impl Sync for DownloadRequest

impl Unpin for DownloadRequest

impl UnwindSafe for DownloadRequest

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.