Struct kvproto::kvrpcpb::CheckLockObserverResponse[][src]

pub struct CheckLockObserverResponse {
    pub error: String,
    pub is_clean: bool,
    pub locks: RepeatedField<LockInfo>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

error: Stringis_clean: boollocks: RepeatedField<LockInfo>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CheckLockObserverResponse[src]

pub fn new() -> CheckLockObserverResponse[src]

pub fn get_error(&self) -> &str[src]

pub fn clear_error(&mut self)[src]

pub fn set_error(&mut self, v: String)[src]

pub fn mut_error(&mut self) -> &mut String[src]

pub fn take_error(&mut self) -> String[src]

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

pub fn clear_is_clean(&mut self)[src]

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

pub fn get_locks(&self) -> &[LockInfo][src]

pub fn clear_locks(&mut self)[src]

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

pub fn mut_locks(&mut self) -> &mut RepeatedField<LockInfo>[src]

pub fn take_locks(&mut self) -> RepeatedField<LockInfo>[src]

Trait Implementations

impl Clear for CheckLockObserverResponse[src]

impl Clone for CheckLockObserverResponse[src]

impl Debug for CheckLockObserverResponse[src]

impl Default for CheckLockObserverResponse[src]

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

impl Message for CheckLockObserverResponse[src]

impl PartialEq<CheckLockObserverResponse> for CheckLockObserverResponse[src]

impl PbPrint for CheckLockObserverResponse[src]

impl ProtobufValue for CheckLockObserverResponse[src]

impl StructuralPartialEq for CheckLockObserverResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for CheckLockObserverResponse

impl Send for CheckLockObserverResponse

impl Sync for CheckLockObserverResponse

impl Unpin for CheckLockObserverResponse

impl UnwindSafe for CheckLockObserverResponse

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.