#[non_exhaustive]pub struct TotalResourceUtilization { /* private fields */ }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.
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
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 TotalResourceUtilization
impl Debug for TotalResourceUtilization
source§impl PartialEq<TotalResourceUtilization> for TotalResourceUtilization
impl PartialEq<TotalResourceUtilization> for TotalResourceUtilization
source§fn eq(&self, other: &TotalResourceUtilization) -> bool
fn eq(&self, other: &TotalResourceUtilization) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TotalResourceUtilization
Auto Trait Implementations§
impl RefUnwindSafe for TotalResourceUtilization
impl Send for TotalResourceUtilization
impl Sync for TotalResourceUtilization
impl Unpin for TotalResourceUtilization
impl UnwindSafe for TotalResourceUtilization
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