Struct raft_proto::eraftpb::ConfChangeSingle[][src]

pub struct ConfChangeSingle {
    pub change_type: ConfChangeType,
    pub node_id: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

change_type: ConfChangeTypenode_id: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ConfChangeSingle[src]

pub fn new() -> ConfChangeSingle[src]

pub fn get_change_type(&self) -> ConfChangeType[src]

pub fn clear_change_type(&mut self)[src]

pub fn set_change_type(&mut self, v: ConfChangeType)[src]

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

pub fn clear_node_id(&mut self)[src]

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

Trait Implementations

impl Clear for ConfChangeSingle[src]

impl Clone for ConfChangeSingle[src]

impl Debug for ConfChangeSingle[src]

impl Default for ConfChangeSingle[src]

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

impl Message for ConfChangeSingle[src]

impl PartialEq<ConfChangeSingle> for ConfChangeSingle[src]

impl PbPrint for ConfChangeSingle[src]

impl ProtobufValue for ConfChangeSingle[src]

impl StructuralPartialEq for ConfChangeSingle[src]

Auto Trait Implementations

impl RefUnwindSafe for ConfChangeSingle

impl Send for ConfChangeSingle

impl Sync for ConfChangeSingle

impl Unpin for ConfChangeSingle

impl UnwindSafe for ConfChangeSingle

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.