pub struct SampledValue {
pub display_labels: HashMap<String, String>,
pub name: String,
pub mean: f64,
pub stddev: f64,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§display_labels: HashMap<String, String>
§name: String
§mean: f64
§stddev: f64
Implementations§
Source§impl SampledValue
impl SampledValue
pub fn builder() -> SampledValueBuilder
Trait Implementations§
Source§impl Clone for SampledValue
impl Clone for SampledValue
Source§fn clone(&self) -> SampledValue
fn clone(&self) -> SampledValue
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 SampledValue
impl Debug for SampledValue
Source§impl<'de> Deserialize<'de> for SampledValue
impl<'de> Deserialize<'de> for SampledValue
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 SampledValue
impl PartialEq for SampledValue
Source§impl Serialize for SampledValue
impl Serialize for SampledValue
impl StructuralPartialEq for SampledValue
Auto Trait Implementations§
impl Freeze for SampledValue
impl RefUnwindSafe for SampledValue
impl Send for SampledValue
impl Sync for SampledValue
impl Unpin for SampledValue
impl UnwindSafe for SampledValue
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