[][src]Struct uaparser::OS

pub struct OS {
    pub family: String,
    pub major: Option<String>,
    pub minor: Option<String>,
    pub patch: Option<String>,
    pub patch_minor: Option<String>,
}

Describes the Family as well as the Major, Minor, Patch, and PatchMinor versions of an OS

Fields

family: Stringmajor: Option<String>minor: Option<String>patch: Option<String>patch_minor: Option<String>

Trait Implementations

impl Clone for OS[src]

impl Debug for OS[src]

impl Default for OS[src]

impl<'de> Deserialize<'de> for OS[src]

impl Eq for OS[src]

impl Hash for OS[src]

impl PartialEq<OS> for OS[src]

impl StructuralEq for OS[src]

impl StructuralPartialEq for OS[src]

Auto Trait Implementations

impl RefUnwindSafe for OS

impl Send for OS

impl Sync for OS

impl Unpin for OS

impl UnwindSafe for OS

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.