Struct chromiumoxide::cdp::browser_protocol::emulation::UserAgentMetadata[][src]

pub struct UserAgentMetadata {
    pub brands: Vec<UserAgentBrandVersion, Global>,
    pub full_version: String,
    pub platform: String,
    pub platform_version: String,
    pub architecture: String,
    pub model: String,
    pub mobile: bool,
}

Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints UserAgentMetadata

Fields

brands: Vec<UserAgentBrandVersion, Global>full_version: Stringplatform: Stringplatform_version: Stringarchitecture: Stringmodel: Stringmobile: bool

Implementations

impl UserAgentMetadata[src]

impl UserAgentMetadata[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for UserAgentMetadata[src]

impl Debug for UserAgentMetadata[src]

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

impl PartialEq<UserAgentMetadata> for UserAgentMetadata[src]

impl Serialize for UserAgentMetadata[src]

impl StructuralPartialEq for UserAgentMetadata[src]

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,