Struct kvproto::pdpb::ChangePeerV2[][src]

pub struct ChangePeerV2 {
    pub changes: RepeatedField<ChangePeer>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

changes: RepeatedField<ChangePeer>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ChangePeerV2[src]

pub fn new() -> ChangePeerV2[src]

pub fn get_changes(&self) -> &[ChangePeer][src]

pub fn clear_changes(&mut self)[src]

pub fn set_changes(&mut self, v: RepeatedField<ChangePeer>)[src]

pub fn mut_changes(&mut self) -> &mut RepeatedField<ChangePeer>[src]

pub fn take_changes(&mut self) -> RepeatedField<ChangePeer>[src]

Trait Implementations

impl Clear for ChangePeerV2[src]

impl Clone for ChangePeerV2[src]

impl Debug for ChangePeerV2[src]

impl Default for ChangePeerV2[src]

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

impl Message for ChangePeerV2[src]

impl PartialEq<ChangePeerV2> for ChangePeerV2[src]

impl PbPrint for ChangePeerV2[src]

impl ProtobufValue for ChangePeerV2[src]

impl StructuralPartialEq for ChangePeerV2[src]

Auto Trait Implementations

impl RefUnwindSafe for ChangePeerV2

impl Send for ChangePeerV2

impl Sync for ChangePeerV2

impl Unpin for ChangePeerV2

impl UnwindSafe for ChangePeerV2

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.