Struct kvproto::pdpb::TransferLeader[][src]

pub struct TransferLeader {
    pub peer: SingularPtrField<Peer>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

peer: SingularPtrField<Peer>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl TransferLeader[src]

pub fn new() -> TransferLeader[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]

Trait Implementations

impl Clear for TransferLeader[src]

impl Clone for TransferLeader[src]

impl Debug for TransferLeader[src]

impl Default for TransferLeader[src]

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

impl Message for TransferLeader[src]

impl PartialEq<TransferLeader> for TransferLeader[src]

impl PbPrint for TransferLeader[src]

impl ProtobufValue for TransferLeader[src]

impl StructuralPartialEq for TransferLeader[src]

Auto Trait Implementations

impl RefUnwindSafe for TransferLeader

impl Send for TransferLeader

impl Sync for TransferLeader

impl Unpin for TransferLeader

impl UnwindSafe for TransferLeader

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.