Struct user_agent_parser::OS
source · pub struct OS<'a> {
pub name: Option<Cow<'a, str>>,
pub major: Option<Cow<'a, str>>,
pub minor: Option<Cow<'a, str>>,
pub patch: Option<Cow<'a, str>>,
pub patch_minor: Option<Cow<'a, str>>,
}
Fields
name: Option<Cow<'a, str>>
major: Option<Cow<'a, str>>
minor: Option<Cow<'a, str>>
patch: Option<Cow<'a, str>>
patch_minor: Option<Cow<'a, str>>
Implementations
sourceimpl<'a> OS<'a>
impl<'a> OS<'a>
sourcepub fn into_owned(self) -> OS<'static>
pub fn into_owned(self) -> OS<'static>
Extracts the owned data.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for OS<'a>
impl<'a> Send for OS<'a>
impl<'a> Sync for OS<'a>
impl<'a> Unpin for OS<'a>
impl<'a> UnwindSafe for OS<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more