pub struct UserAgentBrandVersion {
pub brand: String,
pub version: String,
}Expand description
Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
Experimental: may change without notice.
Fields§
§brand: String§version: StringTrait Implementations§
Source§impl Clone for UserAgentBrandVersion
impl Clone for UserAgentBrandVersion
Source§impl Debug for UserAgentBrandVersion
impl Debug for UserAgentBrandVersion
Source§impl Default for UserAgentBrandVersion
impl Default for UserAgentBrandVersion
Source§impl<'de> Deserialize<'de> for UserAgentBrandVersion
impl<'de> Deserialize<'de> for UserAgentBrandVersion
Source§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
Source§impl PartialEq for UserAgentBrandVersion
impl PartialEq for UserAgentBrandVersion
Source§impl Serialize for UserAgentBrandVersion
impl Serialize for UserAgentBrandVersion
impl StructuralPartialEq for UserAgentBrandVersion
Auto Trait Implementations§
impl Forget for UserAgentBrandVersion
impl Freeze for UserAgentBrandVersion
impl RefUnwindSafe for UserAgentBrandVersion
impl Send for UserAgentBrandVersion
impl Sync for UserAgentBrandVersion
impl Unpin for UserAgentBrandVersion
impl UnsafeUnpin for UserAgentBrandVersion
impl UnwindSafe for UserAgentBrandVersion
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