Struct uap_rust::device::Device [] [src]

pub struct Device {
    pub family: String,
    pub brand: Option<String>,
    pub model: Option<String>,
}

Device contains the device information from the user agent.

Fields

family: String brand: Option<String> model: Option<String>

Trait Implementations

impl Eq for Device
[src]

impl PartialEq for Device
[src]

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

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

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

This method tests for !=.

impl Debug for Device
[src]

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

Formats the value using the given formatter.