pub struct Adaptations {
pub gpu_column: bool,
pub thermal_prone: bool,
pub suggested_margin_pct: f64,
pub insights: Vec<String>,
}Fields§
§gpu_column: boolShow a GPU column (a usable GPU with memory or utilization data).
thermal_prone: boolThermal-prone (fanless or unified-memory laptop): throttle insights enabled, larger margin advised.
suggested_margin_pct: f64Suggested extra safety margin over the default, in percent of RAM (applied only if the user opts in).
insights: Vec<String>Insight generators worth enabling for this machine.
Trait Implementations§
Source§impl Clone for Adaptations
impl Clone for Adaptations
Source§impl Debug for Adaptations
impl Debug for Adaptations
Source§impl Default for Adaptations
impl Default for Adaptations
Source§impl<'de> Deserialize<'de> for Adaptationswhere
Adaptations: Default,
impl<'de> Deserialize<'de> for Adaptationswhere
Adaptations: Default,
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
Source§impl PartialEq for Adaptations
impl PartialEq for Adaptations
Source§impl Serialize for Adaptations
impl Serialize for Adaptations
impl StructuralPartialEq for Adaptations
Auto Trait Implementations§
impl Forget for Adaptations
impl Freeze for Adaptations
impl Move for Adaptations
impl RefUnwindSafe for Adaptations
impl Send for Adaptationswhere
RawVecInner: Send,
impl Sync for Adaptationswhere
RawVecInner: Sync,
impl Unpin for Adaptations
impl UnsafeUnpin for Adaptations
impl UnwindSafe for Adaptationswhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more