pub struct GaugeValue {
pub value: f32,
pub display_labels: HashMap<String, String>,
pub name: String,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§value: f32
§display_labels: HashMap<String, String>
§name: String
Trait Implementations§
Source§impl Clone for GaugeValue
impl Clone for GaugeValue
Source§fn clone(&self) -> GaugeValue
fn clone(&self) -> GaugeValue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GaugeValue
impl Debug for GaugeValue
Source§impl Default for GaugeValue
impl Default for GaugeValue
Source§fn default() -> GaugeValue
fn default() -> GaugeValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GaugeValue
impl<'de> Deserialize<'de> for GaugeValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GaugeValue
impl PartialEq for GaugeValue
Source§impl Serialize for GaugeValue
impl Serialize for GaugeValue
impl StructuralPartialEq for GaugeValue
Auto Trait Implementations§
impl Freeze for GaugeValue
impl RefUnwindSafe for GaugeValue
impl Send for GaugeValue
impl Sync for GaugeValue
impl Unpin for GaugeValue
impl UnwindSafe for GaugeValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more