Struct uap_rust::os::OS [] [src]

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

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
[src]

impl PartialEq for OS
[src]

fn eq(&self, __arg_0: &OS) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &OS) -> bool

This method tests for !=.

impl Debug for OS
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.