pub struct SizeRow {
pub baseline_mib: u32,
pub baseline_vcpu: f64,
pub peak_mib: u32,
pub peak_vcpu: f64,
}Expand description
One row of the documented sizing table: a baseline and its provisioned ceiling.
Plain data with public fields, because that is what it is — a transcription of
someone else’s published table, not settings. The accessors on SizeClass are
where a caller normally reads it; the row is public so the drift gate and the
guard test can compare against the table itself.
Fields§
§baseline_mib: u32What minimumMemoryInMiB must be set to in order to select this class.
baseline_vcpu: f64Billed per running second, alongside baseline_vcpu. Not what the guest
reports.
peak_mib: u32What the guest reports as MemTotal: a fixed ceiling, provisioned from the
start and present the whole run. Usage above the baseline is billed by
consumption, per second.
peak_vcpu: f64Trait Implementations§
impl Copy for SizeRow
impl StructuralPartialEq for SizeRow
Auto Trait Implementations§
impl Freeze for SizeRow
impl RefUnwindSafe for SizeRow
impl Send for SizeRow
impl Sync for SizeRow
impl Unpin for SizeRow
impl UnsafeUnpin for SizeRow
impl UnwindSafe for SizeRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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 moreCreates a shared type from an unshared type.