pub struct CoolerDesc {
pub kind: CoolerType,
pub controller: CoolerController,
pub range: Range<Percentage>,
pub default_policy: CoolerPolicy,
pub target: CoolerTarget,
pub control: CoolerControl,
}Fields§
§kind: CoolerType§controller: CoolerController§range: Range<Percentage>§default_policy: CoolerPolicy§target: CoolerTarget§control: CoolerControlTrait Implementations§
Source§impl Clone for CoolerDesc
impl Clone for CoolerDesc
Source§fn clone(&self) -> CoolerDesc
fn clone(&self) -> CoolerDesc
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 CoolerDesc
impl Debug for CoolerDesc
Source§impl<'de> Deserialize<'de> for CoolerDesc
impl<'de> Deserialize<'de> for CoolerDesc
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 CoolerDesc
impl From<Cooler> for CoolerDesc
Source§impl Hash for CoolerDesc
impl Hash for CoolerDesc
Source§impl Ord for CoolerDesc
impl Ord for CoolerDesc
Source§fn cmp(&self, other: &CoolerDesc) -> Ordering
fn cmp(&self, other: &CoolerDesc) -> 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 CoolerDesc
impl PartialEq for CoolerDesc
Source§impl PartialOrd for CoolerDesc
impl PartialOrd for CoolerDesc
Source§impl Serialize for CoolerDesc
impl Serialize for CoolerDesc
impl Eq for CoolerDesc
impl StructuralPartialEq for CoolerDesc
Auto Trait Implementations§
impl Freeze for CoolerDesc
impl RefUnwindSafe for CoolerDesc
impl Send for CoolerDesc
impl Sync for CoolerDesc
impl Unpin for CoolerDesc
impl UnwindSafe for CoolerDesc
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