Struct kudu_pb::master::GetMasterRegistrationResponsePB
[−]
[src]
pub struct GetMasterRegistrationResponsePB { /* fields omitted */ }
Methods
impl GetMasterRegistrationResponsePB
[src]
fn new() -> GetMasterRegistrationResponsePB
fn default_instance() -> &'static GetMasterRegistrationResponsePB
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
fn clear_error(&mut self)
fn has_error(&self) -> bool
fn set_error(&mut self, v: MasterErrorPB)
fn mut_error(&mut self) -> &mut MasterErrorPB
fn take_error(&mut self) -> MasterErrorPB
fn get_error(&self) -> &MasterErrorPB
Trait Implementations
impl PartialEq for GetMasterRegistrationResponsePB
[src]
fn eq(&self, __arg_0: &GetMasterRegistrationResponsePB) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetMasterRegistrationResponsePB) -> bool
This method tests for !=
.
impl Clone for GetMasterRegistrationResponsePB
[src]
fn clone(&self) -> GetMasterRegistrationResponsePB
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 GetMasterRegistrationResponsePB
[src]
fn default() -> GetMasterRegistrationResponsePB
Returns the "default value" for a type. Read more
impl Sync for GetMasterRegistrationResponsePB
[src]
impl Message for GetMasterRegistrationResponsePB
[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(&self, os: &mut Write) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &Any
fn as_any_mut(&mut self) -> &mut Any
fn into_any(self: Box<Self>) -> Box<Any>
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut Write) -> Result<(), ProtobufError>
fn write_length_delimited_to(&self, os: &mut Write) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn type_id(&self) -> TypeId
impl MessageStatic for GetMasterRegistrationResponsePB
[src]
fn new() -> GetMasterRegistrationResponsePB
fn descriptor_static(_: Option<GetMasterRegistrationResponsePB>)
-> &'static MessageDescriptor
-> &'static MessageDescriptor