pub struct SetCookieControls {
pub method: SetCookieControlsMethod,
pub params: SetCookieControlsParams,
}Expand description
Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed setCookieControls
Fields§
§method: SetCookieControlsMethod§params: SetCookieControlsParamsImplementations§
Source§impl SetCookieControls
impl SetCookieControls
pub fn builder() -> SetCookieControlsBuilder
Source§impl SetCookieControls
impl SetCookieControls
pub const IDENTIFIER: &'static str = "Network.setCookieControls"
pub fn identifier(&self) -> &'static str
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 CommandResult for SetCookieControls
impl CommandResult for SetCookieControls
type Result = SetCookieControlsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§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 From<SetCookieControls> for BrowserProtocolCommands
impl From<SetCookieControls> for BrowserProtocolCommands
Source§fn from(v: SetCookieControls) -> Self
fn from(v: SetCookieControls) -> Self
Converts to this type from the input type.
Source§impl From<SetCookieControls> for Command
impl From<SetCookieControls> for Command
Source§fn from(v: SetCookieControls) -> Self
fn from(v: SetCookieControls) -> Self
Converts to this type from the input type.
Source§impl From<SetCookieControls> for NetworkCommands
impl From<SetCookieControls> for NetworkCommands
Source§fn from(v: SetCookieControls) -> Self
fn from(v: SetCookieControls) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetCookieControls
impl PartialEq for SetCookieControls
Source§impl Serialize for SetCookieControls
impl Serialize for SetCookieControls
Source§impl TryFrom<BrowserProtocolCommands> for SetCookieControls
impl TryFrom<BrowserProtocolCommands> for SetCookieControls
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, <SetCookieControls as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetCookieControls as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetCookieControls
impl TryFrom<Command> for SetCookieControls
Source§impl TryFrom<NetworkCommands> for SetCookieControls
impl TryFrom<NetworkCommands> for SetCookieControls
Source§type Error = NetworkCommands
type Error = NetworkCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkCommands,
) -> Result<Self, <SetCookieControls as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <SetCookieControls as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
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