Struct kudu_pb::common::HostPortPB
[−]
[src]
pub struct HostPortPB { /* fields omitted */ }
Methods
impl HostPortPB
[src]
fn new() -> HostPortPB
fn default_instance() -> &'static HostPortPB
fn clear_host(&mut self)
fn has_host(&self) -> bool
fn set_host(&mut self, v: String)
fn mut_host(&mut self) -> &mut String
fn take_host(&mut self) -> String
fn get_host(&self) -> &str
fn clear_port(&mut self)
fn has_port(&self) -> bool
fn set_port(&mut self, v: u32)
fn get_port(&self) -> u32
Trait Implementations
impl PartialEq for HostPortPB
[src]
fn eq(&self, __arg_0: &HostPortPB) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HostPortPB) -> bool
This method tests for !=
.
impl Clone for HostPortPB
[src]
fn clone(&self) -> HostPortPB
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 HostPortPB
[src]
fn default() -> HostPortPB
Returns the "default value" for a type. Read more