Struct chromiumoxide_cdp::cdp::browser_protocol::emulation::UserAgentMetadata [−][src]
pub struct UserAgentMetadata { pub brands: Vec<UserAgentBrandVersion>, pub full_version: String, pub platform: String, pub platform_version: String, pub architecture: String, pub model: String, pub mobile: bool, }
Expand description
Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints UserAgentMetadata
Fields
brands: Vec<UserAgentBrandVersion>
full_version: String
platform: String
platform_version: String
architecture: String
model: String
mobile: bool
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UserAgentMetadata
impl Send for UserAgentMetadata
impl Sync for UserAgentMetadata
impl Unpin for UserAgentMetadata
impl UnwindSafe for UserAgentMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more