pub struct ClearCookiesOptions {
pub name: Option<String>,
pub domain: Option<String>,
pub path: Option<String>,
}Expand description
Options for filtering which cookies to clear with BrowserContext::clear_cookies().
All fields are optional; when provided they act as AND-combined filters.
See: https://playwright.dev/docs/api/class-browsercontext#browser-context-clear-cookies
Fields§
§name: Option<String>Filter by cookie name (exact match).
domain: Option<String>Filter by cookie domain.
path: Option<String>Filter by cookie path.
Trait Implementations§
Source§impl Clone for ClearCookiesOptions
impl Clone for ClearCookiesOptions
Source§fn clone(&self) -> ClearCookiesOptions
fn clone(&self) -> ClearCookiesOptions
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 ClearCookiesOptions
impl Debug for ClearCookiesOptions
Source§impl Default for ClearCookiesOptions
impl Default for ClearCookiesOptions
Source§fn default() -> ClearCookiesOptions
fn default() -> ClearCookiesOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClearCookiesOptions
impl RefUnwindSafe for ClearCookiesOptions
impl Send for ClearCookiesOptions
impl Sync for ClearCookiesOptions
impl Unpin for ClearCookiesOptions
impl UnsafeUnpin for ClearCookiesOptions
impl UnwindSafe for ClearCookiesOptions
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