pub struct Device {
pub family: String,
pub brand: Option<String>,
pub model: Option<String>,
pub regex: Option<String>,
}
Expand description
Device
contains the device information from the user agent.
Fields§
§family: String
§brand: Option<String>
§model: Option<String>
§regex: Option<String>
Trait Implementations§
impl Eq for Device
impl StructuralPartialEq for Device
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