pub struct Fan {
pub key: String,
pub label: String,
pub rpm: u32,
}Expand description
One fan channel.
Fields§
§key: StringStable key "<chip key>/fan<N>" used to look up user-defined names.
label: StringDriver label, or a generic "fan<N>" when none exists.
rpm: u32Current speed (0 when stopped or not connected).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fan
impl<'de> Deserialize<'de> for Fan
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 Fan
impl RefUnwindSafe for Fan
impl Send for Fan
impl Sync for Fan
impl Unpin for Fan
impl UnsafeUnpin for Fan
impl UnwindSafe for Fan
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