Struct kvproto::pdpb::SplitId[][src]

pub struct SplitId {
    pub new_region_id: u64,
    pub new_peer_ids: Vec<u64>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

new_region_id: u64new_peer_ids: Vec<u64>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SplitId[src]

pub fn new() -> SplitId[src]

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

pub fn clear_new_region_id(&mut self)[src]

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

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

pub fn clear_new_peer_ids(&mut self)[src]

pub fn set_new_peer_ids(&mut self, v: Vec<u64>)[src]

pub fn mut_new_peer_ids(&mut self) -> &mut Vec<u64>[src]

pub fn take_new_peer_ids(&mut self) -> Vec<u64>[src]

Trait Implementations

impl Clear for SplitId[src]

impl Clone for SplitId[src]

impl Debug for SplitId[src]

impl Default for SplitId[src]

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

impl Message for SplitId[src]

impl PartialEq<SplitId> for SplitId[src]

impl PbPrint for SplitId[src]

impl ProtobufValue for SplitId[src]

impl StructuralPartialEq for SplitId[src]

Auto Trait Implementations

impl RefUnwindSafe for SplitId

impl Send for SplitId

impl Sync for SplitId

impl Unpin for SplitId

impl UnwindSafe for SplitId

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.