pub struct DeleteCookiesParams {
pub name: String,
pub url: Option<String>,
pub domain: Option<String>,
pub path: Option<String>,
pub partition_key: Option<CookiePartitionKey>,
}Expand description
Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
Parameters of Network.deleteCookies.
Fields§
§name: StringName 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.
partition_key: Option<CookiePartitionKey>If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for DeleteCookiesParams
impl Clone for DeleteCookiesParams
Source§impl Command for DeleteCookiesParams
impl Command for DeleteCookiesParams
Source§impl Debug for DeleteCookiesParams
impl Debug for DeleteCookiesParams
Source§impl Default for DeleteCookiesParams
impl Default for DeleteCookiesParams
Source§impl<'de> Deserialize<'de> for DeleteCookiesParams
impl<'de> Deserialize<'de> for DeleteCookiesParams
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 PartialEq for DeleteCookiesParams
impl PartialEq for DeleteCookiesParams
Source§impl Serialize for DeleteCookiesParams
impl Serialize for DeleteCookiesParams
impl StructuralPartialEq for DeleteCookiesParams
Auto Trait Implementations§
impl Forget for DeleteCookiesParams
impl Freeze for DeleteCookiesParams
impl RefUnwindSafe for DeleteCookiesParams
impl Send for DeleteCookiesParams
impl Sync for DeleteCookiesParams
impl Unpin for DeleteCookiesParams
impl UnsafeUnpin for DeleteCookiesParams
impl UnwindSafe for DeleteCookiesParams
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