Struct kvproto::import_kvpb::WriteBatch[][src]

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

Fields

commit_ts: u64mutations: RepeatedField<Mutation>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl WriteBatch[src]

pub fn new() -> WriteBatch[src]

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

pub fn clear_commit_ts(&mut self)[src]

pub fn set_commit_ts(&mut self, v: u64)[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]

Trait Implementations

impl Clear for WriteBatch[src]

impl Clone for WriteBatch[src]

impl Debug for WriteBatch[src]

impl Default for WriteBatch[src]

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

impl Message for WriteBatch[src]

impl PartialEq<WriteBatch> for WriteBatch[src]

impl PbPrint for WriteBatch[src]

impl ProtobufValue for WriteBatch[src]

impl StructuralPartialEq for WriteBatch[src]

Auto Trait Implementations

impl RefUnwindSafe for WriteBatch

impl Send for WriteBatch

impl Sync for WriteBatch

impl Unpin for WriteBatch

impl UnwindSafe for WriteBatch

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.