Struct kvproto::import_sstpb::WriteBatch [−][src]
Fields
commit_ts: u64
pairs: RepeatedField<Pair>
unknown_fields: UnknownFields
cached_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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,