pub struct ListedDevice {
pub bus_number: u8,
pub address: u8,
pub speed: Speed,
pub serial: Result<String, Error>,
}
Fields§
§bus_number: u8
§address: u8
§speed: Speed
§serial: Result<String, Error>
Trait Implementations§
Source§impl Clone for ListedDevice
impl Clone for ListedDevice
Source§fn clone(&self) -> ListedDevice
fn clone(&self) -> ListedDevice
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 moreAuto Trait Implementations§
impl Freeze for ListedDevice
impl RefUnwindSafe for ListedDevice
impl Send for ListedDevice
impl Sync for ListedDevice
impl Unpin for ListedDevice
impl UnwindSafe for ListedDevice
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