Struct kudu_pb::consensus_metadata::RaftConfigPB
[−]
[src]
pub struct RaftConfigPB { /* fields omitted */ }
Methods
impl RaftConfigPB
[src]
fn new() -> RaftConfigPB
fn default_instance() -> &'static RaftConfigPB
fn clear_opid_index(&mut self)
fn has_opid_index(&self) -> bool
fn set_opid_index(&mut self, v: i64)
fn get_opid_index(&self) -> i64
fn clear_OBSOLETE_local(&mut self)
fn has_OBSOLETE_local(&self) -> bool
fn set_OBSOLETE_local(&mut self, v: bool)
fn get_OBSOLETE_local(&self) -> bool
fn clear_peers(&mut self)
fn set_peers(&mut self, v: RepeatedField<RaftPeerPB>)
fn mut_peers(&mut self) -> &mut RepeatedField<RaftPeerPB>
fn take_peers(&mut self) -> RepeatedField<RaftPeerPB>
fn get_peers(&self) -> &[RaftPeerPB]
Trait Implementations
impl PartialEq for RaftConfigPB
[src]
fn eq(&self, __arg_0: &RaftConfigPB) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RaftConfigPB) -> bool
This method tests for !=
.
impl Clone for RaftConfigPB
[src]
fn clone(&self) -> RaftConfigPB
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for RaftConfigPB
[src]
fn default() -> RaftConfigPB
Returns the "default value" for a type. Read more