Struct kvproto::raft_cmdpb::PrepareMergeRequest[][src]

pub struct PrepareMergeRequest {
    pub min_index: u64,
    pub target: SingularPtrField<Region>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

min_index: u64target: SingularPtrField<Region>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl PrepareMergeRequest[src]

pub fn new() -> PrepareMergeRequest[src]

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

pub fn clear_min_index(&mut self)[src]

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

pub fn get_target(&self) -> &Region[src]

pub fn clear_target(&mut self)[src]

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

pub fn set_target(&mut self, v: Region)[src]

pub fn mut_target(&mut self) -> &mut Region[src]

pub fn take_target(&mut self) -> Region[src]

Trait Implementations

impl Clear for PrepareMergeRequest[src]

impl Clone for PrepareMergeRequest[src]

impl Debug for PrepareMergeRequest[src]

impl Default for PrepareMergeRequest[src]

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

impl Message for PrepareMergeRequest[src]

impl PartialEq<PrepareMergeRequest> for PrepareMergeRequest[src]

impl PbPrint for PrepareMergeRequest[src]

impl ProtobufValue for PrepareMergeRequest[src]

impl StructuralPartialEq for PrepareMergeRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for PrepareMergeRequest

impl Send for PrepareMergeRequest

impl Sync for PrepareMergeRequest

impl Unpin for PrepareMergeRequest

impl UnwindSafe for PrepareMergeRequest

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.