pub struct OS {
pub family: String,
pub major: Option<String>,
pub minor: Option<String>,
pub patch: Option<String>,
pub patch_minor: Option<String>,
}
Expand description
OS
contains the operating system information from the user agent.
Fields§
§family: String
§major: Option<String>
§minor: Option<String>
§patch: Option<String>
§patch_minor: Option<String>
Trait Implementations§
impl Eq for OS
impl StructuralPartialEq for OS
Auto Trait Implementations§
impl Freeze for OS
impl RefUnwindSafe for OS
impl Send for OS
impl Sync for OS
impl Unpin for OS
impl UnwindSafe for OS
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