Struct kvproto::raft_cmdpb::SplitRequest[][src]

pub struct SplitRequest {
    pub split_key: Vec<u8>,
    pub new_region_id: u64,
    pub new_peer_ids: Vec<u64>,
    pub right_derive: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

split_key: Vec<u8>new_region_id: u64new_peer_ids: Vec<u64>right_derive: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SplitRequest[src]

pub fn new() -> SplitRequest[src]

pub fn get_split_key(&self) -> &[u8][src]

pub fn clear_split_key(&mut self)[src]

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

pub fn mut_split_key(&mut self) -> &mut Vec<u8>[src]

pub fn take_split_key(&mut self) -> Vec<u8>[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]

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

pub fn clear_right_derive(&mut self)[src]

pub fn set_right_derive(&mut self, v: bool)[src]

Trait Implementations

impl Clear for SplitRequest[src]

impl Clone for SplitRequest[src]

impl Debug for SplitRequest[src]

impl Default for SplitRequest[src]

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

impl Message for SplitRequest[src]

impl PartialEq<SplitRequest> for SplitRequest[src]

impl PbPrint for SplitRequest[src]

impl ProtobufValue for SplitRequest[src]

impl StructuralPartialEq for SplitRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SplitRequest

impl Send for SplitRequest

impl Sync for SplitRequest

impl Unpin for SplitRequest

impl UnwindSafe for SplitRequest

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.