pub struct LinuxWeightDevice {
pub leaf_weight: Option<u16>,
pub major: Option<i64>,
pub minor: Option<i64>,
pub weight: Option<u16>,
}
Fields§
§leaf_weight: Option<u16>
§major: Option<i64>
§minor: Option<i64>
§weight: Option<u16>
Trait Implementations§
Source§impl Debug for LinuxWeightDevice
impl Debug for LinuxWeightDevice
Source§impl Default for LinuxWeightDevice
impl Default for LinuxWeightDevice
Source§fn default() -> LinuxWeightDevice
fn default() -> LinuxWeightDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinuxWeightDevice
impl<'de> Deserialize<'de> for LinuxWeightDevice
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 LinuxWeightDevice
impl RefUnwindSafe for LinuxWeightDevice
impl Send for LinuxWeightDevice
impl Sync for LinuxWeightDevice
impl Unpin for LinuxWeightDevice
impl UnwindSafe for LinuxWeightDevice
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