Struct kvproto::import_sstpb::DownloadResponse[][src]

pub struct DownloadResponse {
    pub range: SingularPtrField<Range>,
    pub is_empty: bool,
    pub error: SingularPtrField<Error>,
    pub crc32: u32,
    pub length: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

range: SingularPtrField<Range>is_empty: boolerror: SingularPtrField<Error>crc32: u32length: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DownloadResponse[src]

pub fn new() -> DownloadResponse[src]

pub fn get_range(&self) -> &Range[src]

pub fn clear_range(&mut self)[src]

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

pub fn set_range(&mut self, v: Range)[src]

pub fn mut_range(&mut self) -> &mut Range[src]

pub fn take_range(&mut self) -> Range[src]

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

pub fn clear_is_empty(&mut self)[src]

pub fn set_is_empty(&mut self, v: bool)[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_crc32(&self) -> u32[src]

pub fn clear_crc32(&mut self)[src]

pub fn set_crc32(&mut self, v: u32)[src]

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

pub fn clear_length(&mut self)[src]

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

Trait Implementations

impl Clear for DownloadResponse[src]

impl Clone for DownloadResponse[src]

impl Debug for DownloadResponse[src]

impl Default for DownloadResponse[src]

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

impl Message for DownloadResponse[src]

impl PartialEq<DownloadResponse> for DownloadResponse[src]

impl PbPrint for DownloadResponse[src]

impl ProtobufValue for DownloadResponse[src]

impl StructuralPartialEq for DownloadResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for DownloadResponse

impl Send for DownloadResponse

impl Sync for DownloadResponse

impl Unpin for DownloadResponse

impl UnwindSafe for DownloadResponse

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.