Struct cdp::network::DeleteCookiesCommand
[−]
[src]
pub struct DeleteCookiesCommand<'a> { pub name: Cow<'a, str>, pub url: Option<Cow<'a, str>>, pub domain: Option<Cow<'a, str>>, pub path: Option<Cow<'a, str>>, }
[Experimental] Deletes browser cookies with matching name and url or domain/path pair.
Command Network.deleteCookies
Domain Module: cdp::network
Command Struct: cdp::network::DeleteCookiesCommand
Response Struct: cdp::network::DeleteCookiesResponse
Fields
name: Cow<'a, str>
Name of the cookies to remove.
url: Option<Cow<'a, str>>
If specified, deletes all the cookies with the given name where domain and path match provided URL.
domain: Option<Cow<'a, str>>
If specified, deletes only cookies with the exact domain.
path: Option<Cow<'a, str>>
If specified, deletes only cookies with the exact path.
Trait Implementations
impl<'a> Clone for DeleteCookiesCommand<'a>
[src]
fn clone(&self) -> DeleteCookiesCommand<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for DeleteCookiesCommand<'a>
[src]
impl<'a> PartialEq for DeleteCookiesCommand<'a>
[src]
fn eq(&self, __arg_0: &DeleteCookiesCommand<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeleteCookiesCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for DeleteCookiesCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Network.deleteCookies"
impl<'a> SerializeCdpCommand for DeleteCookiesCommand<'a>
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for DeleteCookiesCommand<'a>
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,