#[non_exhaustive]pub struct Cpu {
pub max: Option<i64>,
pub p75: Option<i64>,
pub p95: Option<i64>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
CPU usage statistics derived from historical Spark job metrics. Provides multiple estimates so users can choose between conservative and cost-saving risk profiles.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max: Option<i64>
Maximum CPU usage observed for the job, expressed in millicores. This represents the upper bound of usage.
p75: Option<i64>
75th percentile of CPU usage (millicores). Represents a cost-saving configuration while covering most workloads.
p95: Option<i64>
95th percentile of CPU usage (millicores). Balances performance and cost, providing a safer margin than p75.
additional_properties: BTreeMap<String, Value>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cpu
impl<'de> Deserialize<'de> for Cpu
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
impl StructuralPartialEq for Cpu
Auto Trait Implementations§
impl Freeze for Cpu
impl RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnwindSafe for Cpu
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