Struct kvproto::replication_modepb::RegionReplicationStatus[][src]

pub struct RegionReplicationStatus {
    pub state: RegionReplicationState,
    pub state_id: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

state: RegionReplicationStatestate_id: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RegionReplicationStatus[src]

pub fn new() -> RegionReplicationStatus[src]

pub fn get_state(&self) -> RegionReplicationState[src]

pub fn clear_state(&mut self)[src]

pub fn set_state(&mut self, v: RegionReplicationState)[src]

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

pub fn clear_state_id(&mut self)[src]

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

Trait Implementations

impl Clear for RegionReplicationStatus[src]

impl Clone for RegionReplicationStatus[src]

impl Debug for RegionReplicationStatus[src]

impl Default for RegionReplicationStatus[src]

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

impl Message for RegionReplicationStatus[src]

impl PartialEq<RegionReplicationStatus> for RegionReplicationStatus[src]

impl PbPrint for RegionReplicationStatus[src]

impl ProtobufValue for RegionReplicationStatus[src]

impl StructuralPartialEq for RegionReplicationStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for RegionReplicationStatus

impl Send for RegionReplicationStatus

impl Sync for RegionReplicationStatus

impl Unpin for RegionReplicationStatus

impl UnwindSafe for RegionReplicationStatus

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.