pub struct SetGlobalPrivacyControlParams {
pub gpc: bool,
}Expand description
Sets and then gets the current globally-applied privacy control status See https://www.w3.org/TR/gpc/#set-global-privacy-control
Experimental: may change without notice.
Parameters of Browser.setGlobalPrivacyControl.
Fields§
§gpc: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for SetGlobalPrivacyControlParams
impl<'de> Deserialize<'de> for SetGlobalPrivacyControlParams
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
impl StructuralPartialEq for SetGlobalPrivacyControlParams
Auto Trait Implementations§
impl Forget for SetGlobalPrivacyControlParams
impl Freeze for SetGlobalPrivacyControlParams
impl RefUnwindSafe for SetGlobalPrivacyControlParams
impl Send for SetGlobalPrivacyControlParams
impl Sync for SetGlobalPrivacyControlParams
impl Unpin for SetGlobalPrivacyControlParams
impl UnsafeUnpin for SetGlobalPrivacyControlParams
impl UnwindSafe for SetGlobalPrivacyControlParams
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