pub struct SetCookies {
pub method: SetCookiesMethod,
pub params: SetCookiesParams,
}Expand description
Sets given cookies. setCookies
Fields§
§method: SetCookiesMethod§params: SetCookiesParamsImplementations§
Source§impl SetCookies
impl SetCookies
pub fn builder() -> SetCookiesBuilder
Source§impl SetCookies
impl SetCookies
pub const IDENTIFIER: &'static str = "Network.setCookies"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetCookies
impl Clone for SetCookies
Source§fn clone(&self) -> SetCookies
fn clone(&self) -> SetCookies
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 SetCookies
impl CommandResult for SetCookies
type Result = SetCookiesResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetCookies
impl Debug for SetCookies
Source§impl<'de> Deserialize<'de> for SetCookies
impl<'de> Deserialize<'de> for SetCookies
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<SetCookies> for BrowserProtocolCommands
impl From<SetCookies> for BrowserProtocolCommands
Source§fn from(v: SetCookies) -> Self
fn from(v: SetCookies) -> Self
Converts to this type from the input type.
Source§impl From<SetCookies> for Command
impl From<SetCookies> for Command
Source§fn from(v: SetCookies) -> Self
fn from(v: SetCookies) -> Self
Converts to this type from the input type.
Source§impl From<SetCookies> for NetworkCommands
impl From<SetCookies> for NetworkCommands
Source§fn from(v: SetCookies) -> Self
fn from(v: SetCookies) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetCookies
impl PartialEq for SetCookies
Source§impl Serialize for SetCookies
impl Serialize for SetCookies
Source§impl TryFrom<BrowserProtocolCommands> for SetCookies
impl TryFrom<BrowserProtocolCommands> for SetCookies
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, <SetCookies as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetCookies as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetCookies
impl TryFrom<Command> for SetCookies
Source§impl TryFrom<NetworkCommands> for SetCookies
impl TryFrom<NetworkCommands> for SetCookies
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, <SetCookies as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <SetCookies as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetCookies
Auto Trait Implementations§
impl Freeze for SetCookies
impl RefUnwindSafe for SetCookies
impl Send for SetCookies
impl Sync for SetCookies
impl Unpin for SetCookies
impl UnsafeUnpin for SetCookies
impl UnwindSafe for SetCookies
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