Struct openrtb::v2_5::Device

source ·
pub struct Device {
Show 31 fields pub ua: Option<String>, pub geo: Option<Geo>, pub dnt: Option<bool>, pub lmt: Option<bool>, pub ip: Option<String>, pub ipv6: Option<String>, pub device_type: Option<u32>, pub make: Option<String>, pub model: Option<String>, pub os: Option<String>, pub osv: Option<String>, pub hwv: Option<String>, pub h: Option<u64>, pub w: Option<u64>, pub ppi: Option<u64>, pub pxratio: Option<f64>, pub js: Option<bool>, pub geofetch: Option<bool>, pub flashver: Option<String>, pub language: Option<String>, pub carrier: Option<String>, pub mccmnc: Option<String>, pub connection_type: Option<u32>, pub ifa: Option<String>, pub didsha1: Option<String>, pub didmd5: Option<String>, pub dpidsha1: Option<String>, pub dpidmd5: Option<String>, pub macsha1: Option<String>, pub macmd5: Option<String>, pub ext: Option<Ext>,
}

Fields§

§ua: Option<String>§geo: Option<Geo>§dnt: Option<bool>§lmt: Option<bool>§ip: Option<String>§ipv6: Option<String>§device_type: Option<u32>§make: Option<String>§model: Option<String>§os: Option<String>§osv: Option<String>§hwv: Option<String>§h: Option<u64>§w: Option<u64>§ppi: Option<u64>§pxratio: Option<f64>§js: Option<bool>§geofetch: Option<bool>§flashver: Option<String>§language: Option<String>§carrier: Option<String>§mccmnc: Option<String>§connection_type: Option<u32>§ifa: Option<String>§didsha1: Option<String>§didmd5: Option<String>§dpidsha1: Option<String>§dpidmd5: Option<String>§macsha1: Option<String>§macmd5: Option<String>§ext: Option<Ext>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.