Struct kvproto::import_sstpb::WriteBatch[][src]

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

Fields

commit_ts: u64pairs: RepeatedField<Pair>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_pairs(&self) -> &[Pair][src]

pub fn clear_pairs(&mut self)[src]

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

pub fn mut_pairs(&mut self) -> &mut RepeatedField<Pair>[src]

pub fn take_pairs(&mut self) -> RepeatedField<Pair>[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.