pub struct DeviceGroupStats {
pub type: String,
pub name: String,
pub instance_stats: HashMap<String, DeviceStats>,
pub vendor: String,
}
Expand description
DeviceGroupStats contains statistics for each device of a particular device group, identified by the vendor, type and name of the device.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§type: String
§name: String
§instance_stats: HashMap<String, DeviceStats>
InstanceStats is a mapping of each device ID to its statistics.
vendor: String
Trait Implementations§
Source§impl Clone for DeviceGroupStats
impl Clone for DeviceGroupStats
Source§fn clone(&self) -> DeviceGroupStats
fn clone(&self) -> DeviceGroupStats
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 DeviceGroupStats
impl Debug for DeviceGroupStats
Source§impl Default for DeviceGroupStats
impl Default for DeviceGroupStats
Source§fn default() -> DeviceGroupStats
fn default() -> DeviceGroupStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceGroupStats
impl<'de> Deserialize<'de> for DeviceGroupStats
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 DeviceGroupStats
impl PartialEq for DeviceGroupStats
Source§impl Serialize for DeviceGroupStats
impl Serialize for DeviceGroupStats
impl StructuralPartialEq for DeviceGroupStats
Auto Trait Implementations§
impl Freeze for DeviceGroupStats
impl RefUnwindSafe for DeviceGroupStats
impl Send for DeviceGroupStats
impl Sync for DeviceGroupStats
impl Unpin for DeviceGroupStats
impl UnwindSafe for DeviceGroupStats
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