Struct kvproto::enginepb::CommandResponse[][src]

pub struct CommandResponse {
    pub header: SingularPtrField<CommandResponseHeader>,
    pub apply_state: SingularPtrField<RaftApplyState>,
    pub applied_term: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

header: SingularPtrField<CommandResponseHeader>apply_state: SingularPtrField<RaftApplyState>applied_term: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CommandResponse[src]

pub fn new() -> CommandResponse[src]

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

pub fn clear_header(&mut self)[src]

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

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

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

pub fn take_header(&mut self) -> CommandResponseHeader[src]

pub fn get_apply_state(&self) -> &RaftApplyState[src]

pub fn clear_apply_state(&mut self)[src]

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

pub fn set_apply_state(&mut self, v: RaftApplyState)[src]

pub fn mut_apply_state(&mut self) -> &mut RaftApplyState[src]

pub fn take_apply_state(&mut self) -> RaftApplyState[src]

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

pub fn clear_applied_term(&mut self)[src]

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

Trait Implementations

impl Clear for CommandResponse[src]

impl Clone for CommandResponse[src]

impl Debug for CommandResponse[src]

impl Default for CommandResponse[src]

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

impl Message for CommandResponse[src]

impl PartialEq<CommandResponse> for CommandResponse[src]

impl PbPrint for CommandResponse[src]

impl ProtobufValue for CommandResponse[src]

impl StructuralPartialEq for CommandResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for CommandResponse

impl Send for CommandResponse

impl Sync for CommandResponse

impl Unpin for CommandResponse

impl UnwindSafe for CommandResponse

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.