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