Struct kvproto::import_sstpb::UploadRequest[][src]

pub struct UploadRequest {
    pub chunk: Option<UploadRequest_oneof_chunk>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

chunk: Option<UploadRequest_oneof_chunk>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl UploadRequest[src]

pub fn new() -> UploadRequest[src]

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

pub fn clear_meta(&mut self)[src]

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

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

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

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

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

pub fn clear_data(&mut self)[src]

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

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

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

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

Trait Implementations

impl Clear for UploadRequest[src]

impl Clone for UploadRequest[src]

impl Debug for UploadRequest[src]

impl Default for UploadRequest[src]

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

impl Message for UploadRequest[src]

impl PartialEq<UploadRequest> for UploadRequest[src]

impl PbPrint for UploadRequest[src]

impl ProtobufValue for UploadRequest[src]

impl StructuralPartialEq for UploadRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UploadRequest

impl Send for UploadRequest

impl Sync for UploadRequest

impl Unpin for UploadRequest

impl UnwindSafe for UploadRequest

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.