Struct kvproto::replication_modepb::ReplicationStatus[][src]

pub struct ReplicationStatus {
    pub mode: ReplicationMode,
    pub dr_auto_sync: SingularPtrField<DrAutoSync>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

mode: ReplicationModedr_auto_sync: SingularPtrField<DrAutoSync>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ReplicationStatus[src]

pub fn new() -> ReplicationStatus[src]

pub fn get_mode(&self) -> ReplicationMode[src]

pub fn clear_mode(&mut self)[src]

pub fn set_mode(&mut self, v: ReplicationMode)[src]

pub fn get_dr_auto_sync(&self) -> &DrAutoSync[src]

pub fn clear_dr_auto_sync(&mut self)[src]

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

pub fn set_dr_auto_sync(&mut self, v: DrAutoSync)[src]

pub fn mut_dr_auto_sync(&mut self) -> &mut DrAutoSync[src]

pub fn take_dr_auto_sync(&mut self) -> DrAutoSync[src]

Trait Implementations

impl Clear for ReplicationStatus[src]

impl Clone for ReplicationStatus[src]

impl Debug for ReplicationStatus[src]

impl Default for ReplicationStatus[src]

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

impl Message for ReplicationStatus[src]

impl PartialEq<ReplicationStatus> for ReplicationStatus[src]

impl PbPrint for ReplicationStatus[src]

impl ProtobufValue for ReplicationStatus[src]

impl StructuralPartialEq for ReplicationStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for ReplicationStatus

impl Send for ReplicationStatus

impl Sync for ReplicationStatus

impl Unpin for ReplicationStatus

impl UnwindSafe for ReplicationStatus

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.