Struct chromiumoxide_cdp::cdp::browser_protocol::network::DeleteCookiesParams [−][src]
pub struct DeleteCookiesParams { pub name: String, pub url: Option<String>, pub domain: Option<String>, pub path: Option<String>, }
Expand description
Deletes browser cookies with matching name and url or domain/path pair. deleteCookies
Fields
name: String
Name of the cookies to remove.
url: Option<String>
If specified, deletes all the cookies with the given name where domain and path match provided URL.
domain: Option<String>
If specified, deletes only cookies with the exact domain.
path: Option<String>
If specified, deletes only cookies with the exact path.
Implementations
Create a new instance from a CookieParam
Trait Implementations
type Response = DeleteCookiesReturns
type Response = DeleteCookiesReturns
The type of the response this request triggers on the chromium server
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeleteCookiesParams
impl Send for DeleteCookiesParams
impl Sync for DeleteCookiesParams
impl Unpin for DeleteCookiesParams
impl UnwindSafe for DeleteCookiesParams
Blanket Implementations
Mutably borrows from an owned value. Read more