pub struct GenlThermalPayload {
pub cmd: GenlThermalCmd,
pub nlas: Vec<ThermalAttr>,
}Expand description
Payload of thermal netlink server.
Fields§
§cmd: GenlThermalCmdCommand code of this message
nlas: Vec<ThermalAttr>Netlink attributes in this message
Trait Implementations§
Source§impl Clone for GenlThermalPayload
impl Clone for GenlThermalPayload
Source§fn clone(&self) -> GenlThermalPayload
fn clone(&self) -> GenlThermalPayload
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 GenlThermalPayload
impl Debug for GenlThermalPayload
Source§impl ParseableParametrized<[u8], GenlHeader> for GenlThermalPayload
impl ParseableParametrized<[u8], GenlHeader> for GenlThermalPayload
type Error = DecodeError
Source§fn parse_with_param(buf: &[u8], header: GenlHeader) -> Result<Self, DecodeError>
fn parse_with_param(buf: &[u8], header: GenlHeader) -> Result<Self, DecodeError>
Deserialize the current type.
Source§impl PartialEq for GenlThermalPayload
impl PartialEq for GenlThermalPayload
impl Eq for GenlThermalPayload
impl StructuralPartialEq for GenlThermalPayload
Auto Trait Implementations§
impl Freeze for GenlThermalPayload
impl RefUnwindSafe for GenlThermalPayload
impl Send for GenlThermalPayload
impl Sync for GenlThermalPayload
impl Unpin for GenlThermalPayload
impl UnsafeUnpin for GenlThermalPayload
impl UnwindSafe for GenlThermalPayload
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