Struct prometheus::proto::LabelPair
[−]
[src]
pub struct LabelPair { /* fields omitted */ }
Methods
impl LabelPair[src]
fn new() -> LabelPair[src]
fn default_instance() -> &'static LabelPair[src]
fn clear_name(&mut self)[src]
fn has_name(&self) -> bool[src]
fn set_name(&mut self, v: String)[src]
fn mut_name(&mut self) -> &mut String[src]
fn take_name(&mut self) -> String[src]
fn get_name(&self) -> &str[src]
fn clear_value(&mut self)[src]
fn has_value(&self) -> bool[src]
fn set_value(&mut self, v: String)[src]
fn mut_value(&mut self) -> &mut String[src]
fn take_value(&mut self) -> String[src]
fn get_value(&self) -> &str[src]
Trait Implementations
impl Ord for LabelPair[src]
fn cmp(&self, other: &LabelPair) -> Ordering[src]
This method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.22.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.22.0[src]
Compares and returns the minimum of two values. Read more
impl Eq for LabelPair[src]
impl PartialOrd for LabelPair[src]
fn partial_cmp(&self, other: &LabelPair) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl PartialEq for LabelPair[src]
fn eq(&self, __arg_0: &LabelPair) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &LabelPair) -> bool[src]
This method tests for !=.
impl Clone for LabelPair[src]
fn clone(&self) -> LabelPair[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Default for LabelPair[src]
impl Sync for LabelPair[src]
impl Message for LabelPair[src]
fn is_initialized(&self) -> bool[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn compute_size(&self) -> u32[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32[src]
fn get_unknown_fields(&self) -> &UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn as_any(&self) -> &Any[src]
fn as_any_mut(&mut self) -> &mut Any[src]
fn into_any(self: Box<Self>) -> Box<Any>[src]
fn descriptor(&self) -> &'static MessageDescriptor[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]
fn check_initialized(&self) -> Result<(), ProtobufError>[src]
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut Write
) -> Result<(), ProtobufError>