Struct kvproto::pdpb::AskSplitResponse[][src]

pub struct AskSplitResponse {
    pub header: SingularPtrField<ResponseHeader>,
    pub new_region_id: u64,
    pub new_peer_ids: Vec<u64>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<ResponseHeader>new_region_id: u64new_peer_ids: Vec<u64>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl AskSplitResponse[src]

pub fn new() -> AskSplitResponse[src]

pub fn get_header(&self) -> &ResponseHeader[src]

pub fn clear_header(&mut self)[src]

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

pub fn set_header(&mut self, v: ResponseHeader)[src]

pub fn mut_header(&mut self) -> &mut ResponseHeader[src]

pub fn take_header(&mut self) -> ResponseHeader[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 AskSplitResponse[src]

impl Clone for AskSplitResponse[src]

impl Debug for AskSplitResponse[src]

impl Default for AskSplitResponse[src]

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

impl Message for AskSplitResponse[src]

impl PartialEq<AskSplitResponse> for AskSplitResponse[src]

impl PbPrint for AskSplitResponse[src]

impl ProtobufValue for AskSplitResponse[src]

impl StructuralPartialEq for AskSplitResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for AskSplitResponse

impl Send for AskSplitResponse

impl Sync for AskSplitResponse

impl Unpin for AskSplitResponse

impl UnwindSafe for AskSplitResponse

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.