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. 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.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteCookiesParams
impl Clone for DeleteCookiesParams
Source§fn clone(&self) -> DeleteCookiesParams
fn clone(&self) -> DeleteCookiesParams
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 Debug for DeleteCookiesParams
impl Debug 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 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