Struct kvproto::kvrpcpb::MvccInfo[][src]

pub struct MvccInfo {
    pub lock: SingularPtrField<MvccLock>,
    pub writes: RepeatedField<MvccWrite>,
    pub values: RepeatedField<MvccValue>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

lock: SingularPtrField<MvccLock>writes: RepeatedField<MvccWrite>values: RepeatedField<MvccValue>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl MvccInfo[src]

pub fn new() -> MvccInfo[src]

pub fn get_lock(&self) -> &MvccLock[src]

pub fn clear_lock(&mut self)[src]

pub fn has_lock(&self) -> bool[src]

pub fn set_lock(&mut self, v: MvccLock)[src]

pub fn mut_lock(&mut self) -> &mut MvccLock[src]

pub fn take_lock(&mut self) -> MvccLock[src]

pub fn get_writes(&self) -> &[MvccWrite][src]

pub fn clear_writes(&mut self)[src]

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

pub fn mut_writes(&mut self) -> &mut RepeatedField<MvccWrite>[src]

pub fn take_writes(&mut self) -> RepeatedField<MvccWrite>[src]

pub fn get_values(&self) -> &[MvccValue][src]

pub fn clear_values(&mut self)[src]

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

pub fn mut_values(&mut self) -> &mut RepeatedField<MvccValue>[src]

pub fn take_values(&mut self) -> RepeatedField<MvccValue>[src]

Trait Implementations

impl Clear for MvccInfo[src]

impl Clone for MvccInfo[src]

impl Debug for MvccInfo[src]

impl Default for MvccInfo[src]

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

impl Message for MvccInfo[src]

impl PartialEq<MvccInfo> for MvccInfo[src]

impl PbPrint for MvccInfo[src]

impl ProtobufValue for MvccInfo[src]

impl StructuralPartialEq for MvccInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for MvccInfo

impl Send for MvccInfo

impl Sync for MvccInfo

impl Unpin for MvccInfo

impl UnwindSafe for MvccInfo

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.