pub struct Device<'a> {
pub name: Option<Cow<'a, str>>,
pub brand: Option<Cow<'a, str>>,
pub model: Option<Cow<'a, str>>,
}
Fields§
§name: Option<Cow<'a, str>>
§brand: Option<Cow<'a, str>>
§model: Option<Cow<'a, str>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Device<'a>
impl<'a> RefUnwindSafe for Device<'a>
impl<'a> Send for Device<'a>
impl<'a> Sync for Device<'a>
impl<'a> Unpin for Device<'a>
impl<'a> UnwindSafe for Device<'a>
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