Struct kudu_pb::wire_protocol::ServerEntryPB
[−]
[src]
pub struct ServerEntryPB { /* fields omitted */ }
Methods
impl ServerEntryPB
[src]
fn new() -> ServerEntryPB
fn default_instance() -> &'static ServerEntryPB
fn clear_error(&mut self)
fn has_error(&self) -> bool
fn set_error(&mut self, v: AppStatusPB)
fn mut_error(&mut self) -> &mut AppStatusPB
fn take_error(&mut self) -> AppStatusPB
fn get_error(&self) -> &AppStatusPB
fn clear_instance_id(&mut self)
fn has_instance_id(&self) -> bool
fn set_instance_id(&mut self, v: NodeInstancePB)
fn mut_instance_id(&mut self) -> &mut NodeInstancePB
fn take_instance_id(&mut self) -> NodeInstancePB
fn get_instance_id(&self) -> &NodeInstancePB
fn clear_registration(&mut self)
fn has_registration(&self) -> bool
fn set_registration(&mut self, v: ServerRegistrationPB)
fn mut_registration(&mut self) -> &mut ServerRegistrationPB
fn take_registration(&mut self) -> ServerRegistrationPB
fn get_registration(&self) -> &ServerRegistrationPB
fn clear_role(&mut self)
fn has_role(&self) -> bool
fn set_role(&mut self, v: RaftPeerPB_Role)
fn get_role(&self) -> RaftPeerPB_Role
Trait Implementations
impl PartialEq for ServerEntryPB
[src]
fn eq(&self, __arg_0: &ServerEntryPB) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ServerEntryPB) -> bool
This method tests for !=
.
impl Clone for ServerEntryPB
[src]
fn clone(&self) -> ServerEntryPB
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 ServerEntryPB
[src]
fn default() -> ServerEntryPB
Returns the "default value" for a type. Read more