Struct kudu_pb::master::TabletLocationsPB_ReplicaPB
[−]
[src]
pub struct TabletLocationsPB_ReplicaPB { /* fields omitted */ }
Methods
impl TabletLocationsPB_ReplicaPB
[src]
fn new() -> TabletLocationsPB_ReplicaPB
fn default_instance() -> &'static TabletLocationsPB_ReplicaPB
fn clear_ts_info(&mut self)
fn has_ts_info(&self) -> bool
fn set_ts_info(&mut self, v: TSInfoPB)
fn mut_ts_info(&mut self) -> &mut TSInfoPB
fn take_ts_info(&mut self) -> TSInfoPB
fn get_ts_info(&self) -> &TSInfoPB
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 TabletLocationsPB_ReplicaPB
[src]
fn eq(&self, __arg_0: &TabletLocationsPB_ReplicaPB) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TabletLocationsPB_ReplicaPB) -> bool
This method tests for !=
.
impl Clone for TabletLocationsPB_ReplicaPB
[src]
fn clone(&self) -> TabletLocationsPB_ReplicaPB
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 TabletLocationsPB_ReplicaPB
[src]
fn default() -> TabletLocationsPB_ReplicaPB
Returns the "default value" for a type. Read more
impl Sync for TabletLocationsPB_ReplicaPB
[src]
impl Message for TabletLocationsPB_ReplicaPB
[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 TabletLocationsPB_ReplicaPB
[src]
fn new() -> TabletLocationsPB_ReplicaPB
fn descriptor_static(_: Option<TabletLocationsPB_ReplicaPB>)
-> &'static MessageDescriptor
-> &'static MessageDescriptor