pub struct CoolerStatus {
pub range: Range<Percentage>,
pub level: Percentage,
pub policy: CoolerPolicy,
pub active: bool,
}Fields§
§range: Range<Percentage>§level: Percentage§policy: CoolerPolicy§active: boolTrait Implementations§
Source§impl Clone for CoolerStatus
impl Clone for CoolerStatus
Source§fn clone(&self) -> CoolerStatus
fn clone(&self) -> CoolerStatus
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 CoolerStatus
impl Debug for CoolerStatus
Source§impl<'de> Deserialize<'de> for CoolerStatus
impl<'de> Deserialize<'de> for CoolerStatus
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 From<Cooler> for CoolerStatus
impl From<Cooler> for CoolerStatus
Source§impl Hash for CoolerStatus
impl Hash for CoolerStatus
Source§impl Ord for CoolerStatus
impl Ord for CoolerStatus
Source§fn cmp(&self, other: &CoolerStatus) -> Ordering
fn cmp(&self, other: &CoolerStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CoolerStatus
impl PartialEq for CoolerStatus
Source§impl PartialOrd for CoolerStatus
impl PartialOrd for CoolerStatus
Source§impl Serialize for CoolerStatus
impl Serialize for CoolerStatus
impl Eq for CoolerStatus
impl StructuralPartialEq for CoolerStatus
Auto Trait Implementations§
impl Freeze for CoolerStatus
impl RefUnwindSafe for CoolerStatus
impl Send for CoolerStatus
impl Sync for CoolerStatus
impl Unpin for CoolerStatus
impl UnwindSafe for CoolerStatus
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