pub struct SetCookieControlsParams {
pub enable_third_party_cookie_restriction: bool,
pub disable_third_party_cookie_metadata: bool,
pub disable_third_party_cookie_heuristics: bool,
}
Expand description
Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed setCookieControls
Fields§
Whether 3pc restriction is enabled.
Whether 3pc grace period exception should be enabled; false by default.
Whether 3pc heuristics exceptions should be enabled; false by default.
Implementations§
Source§impl SetCookieControlsParams
impl SetCookieControlsParams
pub const IDENTIFIER: &'static str = "Network.setCookieControls"
Trait Implementations§
Source§impl Clone for SetCookieControlsParams
impl Clone for SetCookieControlsParams
Source§fn clone(&self) -> SetCookieControlsParams
fn clone(&self) -> SetCookieControlsParams
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 Command for SetCookieControlsParams
impl Command for SetCookieControlsParams
Source§impl Debug for SetCookieControlsParams
impl Debug for SetCookieControlsParams
Source§impl<'de> Deserialize<'de> for SetCookieControlsParams
impl<'de> Deserialize<'de> for SetCookieControlsParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetCookieControlsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetCookieControlsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for SetCookieControlsParams
impl Method for SetCookieControlsParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl MethodType for SetCookieControlsParams
impl MethodType for SetCookieControlsParams
Source§impl PartialEq for SetCookieControlsParams
impl PartialEq for SetCookieControlsParams
Source§impl Serialize for SetCookieControlsParams
impl Serialize for SetCookieControlsParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SetCookieControlsParams
Auto Trait Implementations§
impl Freeze for SetCookieControlsParams
impl RefUnwindSafe for SetCookieControlsParams
impl Send for SetCookieControlsParams
impl Sync for SetCookieControlsParams
impl Unpin for SetCookieControlsParams
impl UnwindSafe for SetCookieControlsParams
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