Struct kvproto::import_sstpb::Range[][src]

pub struct Range {
    pub start: Vec<u8>,
    pub end: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

start: Vec<u8>end: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Range[src]

pub fn new() -> Range[src]

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

pub fn clear_start(&mut self)[src]

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

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

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

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

pub fn clear_end(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for Range[src]

impl Clone for Range[src]

impl Debug for Range[src]

impl Default for Range[src]

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

impl Message for Range[src]

impl PartialEq<Range> for Range[src]

impl PbPrint for Range[src]

impl ProtobufValue for Range[src]

impl StructuralPartialEq for Range[src]

Auto Trait Implementations

impl RefUnwindSafe for Range

impl Send for Range

impl Sync for Range

impl Unpin for Range

impl UnwindSafe for Range

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.