pub struct SetCookieControls {
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
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.
Trait Implementations§
Source§impl Clone for SetCookieControls
impl Clone for SetCookieControls
Source§fn clone(&self) -> SetCookieControls
fn clone(&self) -> SetCookieControls
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 SetCookieControls
impl Debug for SetCookieControls
Source§impl<'de> Deserialize<'de> for SetCookieControls
impl<'de> Deserialize<'de> for SetCookieControls
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 Method for SetCookieControls
impl Method for SetCookieControls
const NAME: &'static str = "Network.setCookieControls"
type ReturnObject = SetCookieControlsReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for SetCookieControls
impl PartialEq for SetCookieControls
Source§impl Serialize for SetCookieControls
impl Serialize for SetCookieControls
impl StructuralPartialEq for SetCookieControls
Auto Trait Implementations§
impl Freeze for SetCookieControls
impl RefUnwindSafe for SetCookieControls
impl Send for SetCookieControls
impl Sync for SetCookieControls
impl Unpin for SetCookieControls
impl UnsafeUnpin for SetCookieControls
impl UnwindSafe for SetCookieControls
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