#[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 ==
.impl StructuralPartialEq for TotalResourceUtilization
Auto Trait Implementations§
impl Freeze for TotalResourceUtilization
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more