pub struct UserAgentMetadata {
pub brands: Option<Vec<UserAgentBrandVersion>>,
pub full_version_list: Option<Vec<UserAgentBrandVersion>>,
pub full_version: Option<String>,
pub platform: String,
pub platform_version: String,
pub architecture: String,
pub model: String,
pub mobile: bool,
pub bitness: Option<String>,
pub wow64: Option<bool>,
}Expand description
User agent metadata.
Fields§
§brands: Option<Vec<UserAgentBrandVersion>>Brands.
full_version_list: Option<Vec<UserAgentBrandVersion>>Full version list.
full_version: Option<String>Full version.
platform: StringPlatform.
platform_version: StringPlatform version.
architecture: StringArchitecture.
model: StringModel.
mobile: boolMobile.
bitness: Option<String>Bitness.
wow64: Option<bool>Whether on a WoW64 machine.
Trait Implementations§
Source§impl Clone for UserAgentMetadata
impl Clone for UserAgentMetadata
Source§fn clone(&self) -> UserAgentMetadata
fn clone(&self) -> UserAgentMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserAgentMetadata
impl Debug for UserAgentMetadata
Auto Trait Implementations§
impl Freeze for UserAgentMetadata
impl RefUnwindSafe for UserAgentMetadata
impl Send for UserAgentMetadata
impl Sync for UserAgentMetadata
impl Unpin for UserAgentMetadata
impl UnwindSafe for UserAgentMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more