Struct kvproto::kvrpcpb::RegisterLockObserverRequest[][src]

pub struct RegisterLockObserverRequest {
    pub context: SingularPtrField<Context>,
    pub max_ts: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<Context>max_ts: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RegisterLockObserverRequest[src]

pub fn new() -> RegisterLockObserverRequest[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_max_ts(&self) -> u64[src]

pub fn clear_max_ts(&mut self)[src]

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

Trait Implementations

impl Clear for RegisterLockObserverRequest[src]

impl Clone for RegisterLockObserverRequest[src]

impl Debug for RegisterLockObserverRequest[src]

impl Default for RegisterLockObserverRequest[src]

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

impl Message for RegisterLockObserverRequest[src]

impl PartialEq<RegisterLockObserverRequest> for RegisterLockObserverRequest[src]

impl PbPrint for RegisterLockObserverRequest[src]

impl ProtobufValue for RegisterLockObserverRequest[src]

impl StructuralPartialEq for RegisterLockObserverRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for RegisterLockObserverRequest

impl Send for RegisterLockObserverRequest

impl Sync for RegisterLockObserverRequest

impl Unpin for RegisterLockObserverRequest

impl UnwindSafe for RegisterLockObserverRequest

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.