pub struct ThrottlingPrediction {
pub will_throttle: bool,
pub time_to_throttle: Option<Duration>,
pub severity: ThrottlingSeverity,
pub recommendations: Vec<String>,
pub confidence: f64,
}
Expand description
Thermal throttling prediction
Fields§
§will_throttle: bool
Will throttling occur
time_to_throttle: Option<Duration>
Time until throttling occurs (if applicable)
severity: ThrottlingSeverity
Predicted throttling severity
recommendations: Vec<String>
Recommended actions to prevent throttling
confidence: f64
Confidence level of prediction (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for ThrottlingPrediction
impl Clone for ThrottlingPrediction
Source§fn clone(&self) -> ThrottlingPrediction
fn clone(&self) -> ThrottlingPrediction
Returns a duplicate 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 ThrottlingPrediction
impl Debug for ThrottlingPrediction
Source§impl<'de> Deserialize<'de> for ThrottlingPrediction
impl<'de> Deserialize<'de> for ThrottlingPrediction
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
Auto Trait Implementations§
impl Freeze for ThrottlingPrediction
impl RefUnwindSafe for ThrottlingPrediction
impl Send for ThrottlingPrediction
impl Sync for ThrottlingPrediction
impl Unpin for ThrottlingPrediction
impl UnwindSafe for ThrottlingPrediction
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