Struct kvproto::raft_cmdpb::CommitMergeRequest[][src]

pub struct CommitMergeRequest {
    pub source: SingularPtrField<Region>,
    pub commit: u64,
    pub entries: RepeatedField<Entry>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

source: SingularPtrField<Region>commit: u64entries: RepeatedField<Entry>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CommitMergeRequest[src]

pub fn new() -> CommitMergeRequest[src]

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

pub fn clear_source(&mut self)[src]

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

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

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

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

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

pub fn clear_commit(&mut self)[src]

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

pub fn get_entries(&self) -> &[Entry][src]

pub fn clear_entries(&mut self)[src]

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

pub fn mut_entries(&mut self) -> &mut RepeatedField<Entry>[src]

pub fn take_entries(&mut self) -> RepeatedField<Entry>[src]

Trait Implementations

impl Clear for CommitMergeRequest[src]

impl Clone for CommitMergeRequest[src]

impl Debug for CommitMergeRequest[src]

impl Default for CommitMergeRequest[src]

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

impl Message for CommitMergeRequest[src]

impl PartialEq<CommitMergeRequest> for CommitMergeRequest[src]

impl PbPrint for CommitMergeRequest[src]

impl ProtobufValue for CommitMergeRequest[src]

impl StructuralPartialEq for CommitMergeRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CommitMergeRequest

impl Send for CommitMergeRequest

impl Sync for CommitMergeRequest

impl Unpin for CommitMergeRequest

impl UnwindSafe for CommitMergeRequest

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.