#[non_exhaustive]pub struct TotalResourceUtilization {
pub v_cpu_hour: Option<f64>,
pub memory_gb_hour: Option<f64>,
pub storage_gb_hour: Option<f64>,
}
Expand description
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.v_cpu_hour: Option<f64>
The aggregated vCPU used per hour from the time job start executing till the time job is terminated.
memory_gb_hour: Option<f64>
The aggregated memory used per hour from the time job start executing till the time job is terminated.
storage_gb_hour: Option<f64>
The aggregated storage used per hour from the time job start executing till the time job is terminated.
Implementations§
source§impl TotalResourceUtilization
impl TotalResourceUtilization
sourcepub fn v_cpu_hour(&self) -> Option<f64>
pub fn v_cpu_hour(&self) -> Option<f64>
The aggregated vCPU used per hour from the time job start executing till the time job is terminated.
sourcepub fn memory_gb_hour(&self) -> Option<f64>
pub fn memory_gb_hour(&self) -> Option<f64>
The aggregated memory used per hour from the time job start executing till the time job is terminated.
sourcepub fn storage_gb_hour(&self) -> Option<f64>
pub fn storage_gb_hour(&self) -> Option<f64>
The aggregated storage used per hour from the time job start executing till the time job is terminated.
source§impl TotalResourceUtilization
impl TotalResourceUtilization
sourcepub fn builder() -> TotalResourceUtilizationBuilder
pub fn builder() -> TotalResourceUtilizationBuilder
Creates a new builder-style object to manufacture TotalResourceUtilization
.
Trait Implementations§
source§impl Clone for TotalResourceUtilization
impl Clone for TotalResourceUtilization
source§fn clone(&self) -> TotalResourceUtilization
fn clone(&self) -> TotalResourceUtilization
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TotalResourceUtilization
impl Debug for TotalResourceUtilization
source§impl PartialEq for TotalResourceUtilization
impl PartialEq for TotalResourceUtilization
source§fn eq(&self, other: &TotalResourceUtilization) -> bool
fn eq(&self, other: &TotalResourceUtilization) -> bool
self
and other
values to be equal, and is used
by ==
.