Struct kvproto::pdpb::ChangePeer[][src]

pub struct ChangePeer {
    pub peer: SingularPtrField<Peer>,
    pub change_type: ConfChangeType,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

peer: SingularPtrField<Peer>change_type: ConfChangeTypeunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ChangePeer[src]

pub fn new() -> ChangePeer[src]

pub fn get_peer(&self) -> &Peer[src]

pub fn clear_peer(&mut self)[src]

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

pub fn set_peer(&mut self, v: Peer)[src]

pub fn mut_peer(&mut self) -> &mut Peer[src]

pub fn take_peer(&mut self) -> Peer[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]

Trait Implementations

impl Clear for ChangePeer[src]

impl Clone for ChangePeer[src]

impl Debug for ChangePeer[src]

impl Default for ChangePeer[src]

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

impl Message for ChangePeer[src]

impl PartialEq<ChangePeer> for ChangePeer[src]

impl PbPrint for ChangePeer[src]

impl ProtobufValue for ChangePeer[src]

impl StructuralPartialEq for ChangePeer[src]

Auto Trait Implementations

impl RefUnwindSafe for ChangePeer

impl Send for ChangePeer

impl Sync for ChangePeer

impl Unpin for ChangePeer

impl UnwindSafe for ChangePeer

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.