pub struct Device {
pub physics: Option<String>,
pub name: String,
pub desc: String,
pub product_code: u32,
pub revision_no: u32,
pub sm: Vec<Sm>,
pub rx_pdo: Vec<Pdo>,
pub tx_pdo: Vec<Pdo>,
}
Fields§
§physics: Option<String>
§name: String
§desc: String
§product_code: u32
§revision_no: u32
§sm: Vec<Sm>
§rx_pdo: Vec<Pdo>
§tx_pdo: Vec<Pdo>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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