pub struct DeleteCookiesParams {
pub name: String,
pub url: Option<String>,
pub domain: Option<String>,
pub path: Option<String>,
pub partition_key: Option<String>,
pub browser_context_id: Option<String>,
}Expand description
Parameters for Storage.deleteCookies.
Fields§
§name: StringName of the cookies to remove.
url: Option<String>URL to match cookie domain and path.
domain: Option<String>Cookie domain.
path: Option<String>Cookie path.
partition_key: Option<String>Cookie partition key.
browser_context_id: Option<String>Browser context to use when called on the browser endpoint.
Implementations§
Source§impl DeleteCookiesParams
impl DeleteCookiesParams
Sourcepub fn browser_context_id(self, id: impl Into<String>) -> Self
pub fn browser_context_id(self, id: impl Into<String>) -> Self
Set the browser context ID.
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
Auto Trait Implementations§
impl Freeze for DeleteCookiesParams
impl RefUnwindSafe for DeleteCookiesParams
impl Send for DeleteCookiesParams
impl Sync for DeleteCookiesParams
impl Unpin 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