Struct kudu_pb::consensus_metadata::RaftPeerPB
[−]
[src]
pub struct RaftPeerPB { /* fields omitted */ }
Methods
impl RaftPeerPB
[src]
fn new() -> RaftPeerPB
fn default_instance() -> &'static RaftPeerPB
fn clear_permanent_uuid(&mut self)
fn has_permanent_uuid(&self) -> bool
fn set_permanent_uuid(&mut self, v: Vec<u8>)
fn mut_permanent_uuid(&mut self) -> &mut Vec<u8>
fn take_permanent_uuid(&mut self) -> Vec<u8>
fn get_permanent_uuid(&self) -> &[u8]
fn clear_member_type(&mut self)
fn has_member_type(&self) -> bool
fn set_member_type(&mut self, v: RaftPeerPB_MemberType)
fn get_member_type(&self) -> RaftPeerPB_MemberType
fn clear_last_known_addr(&mut self)
fn has_last_known_addr(&self) -> bool
fn set_last_known_addr(&mut self, v: HostPortPB)
fn mut_last_known_addr(&mut self) -> &mut HostPortPB
fn take_last_known_addr(&mut self) -> HostPortPB
fn get_last_known_addr(&self) -> &HostPortPB
Trait Implementations
impl PartialEq for RaftPeerPB
[src]
fn eq(&self, __arg_0: &RaftPeerPB) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RaftPeerPB) -> bool
This method tests for !=
.
impl Clone for RaftPeerPB
[src]
fn clone(&self) -> RaftPeerPB
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 RaftPeerPB
[src]
fn default() -> RaftPeerPB
Returns the "default value" for a type. Read more