pub struct OnBoardDeviceType {
pub raw: u8,
}
Expand description
§On Board Device Type
Fields§
§raw: u8
Raw value
Implementations§
Source§impl OnBoardDeviceType
impl OnBoardDeviceType
Sourcepub fn type_of_device(&self) -> TypeOfDevice
pub fn type_of_device(&self) -> TypeOfDevice
One of the onboard device types
Sourcepub fn status(&self) -> DeviceStatus
pub fn status(&self) -> DeviceStatus
Enabled/disabled device status
Trait Implementations§
Source§impl Debug for OnBoardDeviceType
impl Debug for OnBoardDeviceType
Source§impl From<u8> for OnBoardDeviceType
impl From<u8> for OnBoardDeviceType
Auto Trait Implementations§
impl Freeze for OnBoardDeviceType
impl RefUnwindSafe for OnBoardDeviceType
impl Send for OnBoardDeviceType
impl Sync for OnBoardDeviceType
impl Unpin for OnBoardDeviceType
impl UnwindSafe for OnBoardDeviceType
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