pub struct AddPrivacySandboxEnrollmentOverride {
pub method: AddPrivacySandboxEnrollmentOverrideMethod,
pub params: AddPrivacySandboxEnrollmentOverrideParams,
}Expand description
Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. addPrivacySandboxEnrollmentOverride
Fields§
§method: AddPrivacySandboxEnrollmentOverrideMethod§params: AddPrivacySandboxEnrollmentOverrideParamsImplementations§
Source§impl AddPrivacySandboxEnrollmentOverride
impl AddPrivacySandboxEnrollmentOverride
pub const IDENTIFIER: &'static str = "Browser.addPrivacySandboxEnrollmentOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for AddPrivacySandboxEnrollmentOverride
impl Clone for AddPrivacySandboxEnrollmentOverride
Source§fn clone(&self) -> AddPrivacySandboxEnrollmentOverride
fn clone(&self) -> AddPrivacySandboxEnrollmentOverride
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 CommandResult for AddPrivacySandboxEnrollmentOverride
impl CommandResult for AddPrivacySandboxEnrollmentOverride
type Result = AddPrivacySandboxEnrollmentOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for AddPrivacySandboxEnrollmentOverride
impl<'de> Deserialize<'de> for AddPrivacySandboxEnrollmentOverride
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 From<AddPrivacySandboxEnrollmentOverride> for BrowserCommands
impl From<AddPrivacySandboxEnrollmentOverride> for BrowserCommands
Source§fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self
fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self
Converts to this type from the input type.
Source§impl From<AddPrivacySandboxEnrollmentOverride> for BrowserProtocolCommands
impl From<AddPrivacySandboxEnrollmentOverride> for BrowserProtocolCommands
Source§fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self
fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self
Converts to this type from the input type.
Source§impl From<AddPrivacySandboxEnrollmentOverride> for Command
impl From<AddPrivacySandboxEnrollmentOverride> for Command
Source§fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self
fn from(v: AddPrivacySandboxEnrollmentOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddPrivacySandboxEnrollmentOverride
impl PartialEq for AddPrivacySandboxEnrollmentOverride
Source§fn eq(&self, other: &AddPrivacySandboxEnrollmentOverride) -> bool
fn eq(&self, other: &AddPrivacySandboxEnrollmentOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserCommands> for AddPrivacySandboxEnrollmentOverride
impl TryFrom<BrowserCommands> for AddPrivacySandboxEnrollmentOverride
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <AddPrivacySandboxEnrollmentOverride as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <AddPrivacySandboxEnrollmentOverride as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for AddPrivacySandboxEnrollmentOverride
impl TryFrom<BrowserProtocolCommands> for AddPrivacySandboxEnrollmentOverride
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <AddPrivacySandboxEnrollmentOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <AddPrivacySandboxEnrollmentOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for AddPrivacySandboxEnrollmentOverride
Auto Trait Implementations§
impl Freeze for AddPrivacySandboxEnrollmentOverride
impl RefUnwindSafe for AddPrivacySandboxEnrollmentOverride
impl Send for AddPrivacySandboxEnrollmentOverride
impl Sync for AddPrivacySandboxEnrollmentOverride
impl Unpin for AddPrivacySandboxEnrollmentOverride
impl UnsafeUnpin for AddPrivacySandboxEnrollmentOverride
impl UnwindSafe for AddPrivacySandboxEnrollmentOverride
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