Struct kvproto::kvrpcpb::CheckTxnStatusRequest[][src]

pub struct CheckTxnStatusRequest {
    pub context: SingularPtrField<Context>,
    pub primary_key: Vec<u8>,
    pub lock_ts: u64,
    pub caller_start_ts: u64,
    pub current_ts: u64,
    pub rollback_if_not_exist: bool,
    pub force_sync_commit: bool,
    pub resolving_pessimistic_lock: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>primary_key: Vec<u8>lock_ts: u64caller_start_ts: u64current_ts: u64rollback_if_not_exist: boolforce_sync_commit: boolresolving_pessimistic_lock: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CheckTxnStatusRequest[src]

pub fn new() -> CheckTxnStatusRequest[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_primary_key(&self) -> &[u8][src]

pub fn clear_primary_key(&mut self)[src]

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

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

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

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

pub fn clear_lock_ts(&mut self)[src]

pub fn set_lock_ts(&mut self, v: u64)[src]

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

pub fn clear_caller_start_ts(&mut self)[src]

pub fn set_caller_start_ts(&mut self, v: u64)[src]

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

pub fn clear_current_ts(&mut self)[src]

pub fn set_current_ts(&mut self, v: u64)[src]

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

pub fn clear_rollback_if_not_exist(&mut self)[src]

pub fn set_rollback_if_not_exist(&mut self, v: bool)[src]

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

pub fn clear_force_sync_commit(&mut self)[src]

pub fn set_force_sync_commit(&mut self, v: bool)[src]

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

pub fn clear_resolving_pessimistic_lock(&mut self)[src]

pub fn set_resolving_pessimistic_lock(&mut self, v: bool)[src]

Trait Implementations

impl Clear for CheckTxnStatusRequest[src]

impl Clone for CheckTxnStatusRequest[src]

impl Debug for CheckTxnStatusRequest[src]

impl Default for CheckTxnStatusRequest[src]

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

impl Message for CheckTxnStatusRequest[src]

impl PartialEq<CheckTxnStatusRequest> for CheckTxnStatusRequest[src]

impl PbPrint for CheckTxnStatusRequest[src]

impl ProtobufValue for CheckTxnStatusRequest[src]

impl StructuralPartialEq for CheckTxnStatusRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CheckTxnStatusRequest

impl Send for CheckTxnStatusRequest

impl Sync for CheckTxnStatusRequest

impl Unpin for CheckTxnStatusRequest

impl UnwindSafe for CheckTxnStatusRequest

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.