pub struct SampleIngest {
pub gpu_model: Option<String>,
pub gpu_util: Option<f64>,
pub gpus: Option<i32>,
pub host: Option<String>,
pub mem_free: Option<i32>,
pub mem_used: Option<i32>,
pub unit: Option<String>,
}Fields§
§gpu_model: Option<String>GPUModel names the representative accelerator ("GB10"); GPUs carries how many. A heterogeneous host names its first card rather than inventing a summary.
gpu_util: Option<f64>GPUUtil is accelerator utilization as a fraction 0..1; the warehouse clamps anything outside that.
gpus: Option<i32>GPUs is how many accelerators this reading covers.
host: Option<String>Host is the node’s hostname, for display.
mem_free: Option<i32>MemFree is host memory still available, in BYTES.
mem_used: Option<i32>MemUsed is host memory in use, in BYTES.
unit: Option<String>Unit is the reporting node’s own id — the same id it registered under, and the key the board joins this series onto. Required.
Implementations§
Source§impl SampleIngest
impl SampleIngest
pub fn new() -> SampleIngest
Trait Implementations§
Source§impl Clone for SampleIngest
impl Clone for SampleIngest
Source§fn clone(&self) -> SampleIngest
fn clone(&self) -> SampleIngest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SampleIngest
impl Debug for SampleIngest
Source§impl Default for SampleIngest
impl Default for SampleIngest
Source§fn default() -> SampleIngest
fn default() -> SampleIngest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SampleIngest
impl<'de> Deserialize<'de> for SampleIngest
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 SampleIngest
impl PartialEq for SampleIngest
Source§impl Serialize for SampleIngest
impl Serialize for SampleIngest
impl StructuralPartialEq for SampleIngest
Auto Trait Implementations§
impl Freeze for SampleIngest
impl RefUnwindSafe for SampleIngest
impl Send for SampleIngest
impl Sync for SampleIngest
impl Unpin for SampleIngest
impl UnsafeUnpin for SampleIngest
impl UnwindSafe for SampleIngest
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