Struct kvproto::kvrpcpb::ImportRequest[][src]

pub struct ImportRequest {
    pub mutations: RepeatedField<Mutation>,
    pub commit_version: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

mutations: RepeatedField<Mutation>commit_version: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ImportRequest[src]

pub fn new() -> ImportRequest[src]

pub fn get_mutations(&self) -> &[Mutation][src]

pub fn clear_mutations(&mut self)[src]

pub fn set_mutations(&mut self, v: RepeatedField<Mutation>)[src]

pub fn mut_mutations(&mut self) -> &mut RepeatedField<Mutation>[src]

pub fn take_mutations(&mut self) -> RepeatedField<Mutation>[src]

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

pub fn clear_commit_version(&mut self)[src]

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

Trait Implementations

impl Clear for ImportRequest[src]

impl Clone for ImportRequest[src]

impl Debug for ImportRequest[src]

impl Default for ImportRequest[src]

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

impl Message for ImportRequest[src]

impl PartialEq<ImportRequest> for ImportRequest[src]

impl PbPrint for ImportRequest[src]

impl ProtobufValue for ImportRequest[src]

impl StructuralPartialEq for ImportRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ImportRequest

impl Send for ImportRequest

impl Sync for ImportRequest

impl Unpin for ImportRequest

impl UnwindSafe for ImportRequest

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.