Struct kvproto::kvrpcpb::ResolveLockRequest[][src]

pub struct ResolveLockRequest {
    pub context: SingularPtrField<Context>,
    pub start_version: u64,
    pub commit_version: u64,
    pub txn_infos: RepeatedField<TxnInfo>,
    pub keys: RepeatedField<Vec<u8>>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>start_version: u64commit_version: u64txn_infos: RepeatedField<TxnInfo>keys: RepeatedField<Vec<u8>>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ResolveLockRequest[src]

pub fn new() -> ResolveLockRequest[src]

pub fn get_context(&self) -> &Context[src]

pub fn clear_context(&mut self)[src]

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

pub fn set_context(&mut self, v: Context)[src]

pub fn mut_context(&mut self) -> &mut Context[src]

pub fn take_context(&mut self) -> Context[src]

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

pub fn clear_start_version(&mut self)[src]

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

pub fn get_txn_infos(&self) -> &[TxnInfo][src]

pub fn clear_txn_infos(&mut self)[src]

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

pub fn mut_txn_infos(&mut self) -> &mut RepeatedField<TxnInfo>[src]

pub fn take_txn_infos(&mut self) -> RepeatedField<TxnInfo>[src]

pub fn get_keys(&self) -> &[Vec<u8>][src]

pub fn clear_keys(&mut self)[src]

pub fn set_keys(&mut self, v: RepeatedField<Vec<u8>>)[src]

pub fn mut_keys(&mut self) -> &mut RepeatedField<Vec<u8>>[src]

pub fn take_keys(&mut self) -> RepeatedField<Vec<u8>>[src]

Trait Implementations

impl Clear for ResolveLockRequest[src]

impl Clone for ResolveLockRequest[src]

impl Debug for ResolveLockRequest[src]

impl Default for ResolveLockRequest[src]

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

impl Message for ResolveLockRequest[src]

impl PartialEq<ResolveLockRequest> for ResolveLockRequest[src]

impl PbPrint for ResolveLockRequest[src]

impl ProtobufValue for ResolveLockRequest[src]

impl StructuralPartialEq for ResolveLockRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ResolveLockRequest

impl Send for ResolveLockRequest

impl Sync for ResolveLockRequest

impl Unpin for ResolveLockRequest

impl UnwindSafe for ResolveLockRequest

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.