pub struct ClearCookiesBuilder { /* private fields */ }Expand description
Builder for ClearCookies.
Implementations§
Source§impl ClearCookiesBuilder
impl ClearCookiesBuilder
Sourcepub fn browser_context_id<VALUE: Into<BrowserContextId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn browser_context_id<VALUE: Into<BrowserContextId>>( &mut self, value: VALUE, ) -> &mut Self
Browser context to use when called on the browser endpoint.
Sourcepub fn build(&self) -> Result<ClearCookies, ClearCookiesBuilderError>
pub fn build(&self) -> Result<ClearCookies, ClearCookiesBuilderError>
Trait Implementations§
Source§impl Clone for ClearCookiesBuilder
impl Clone for ClearCookiesBuilder
Source§fn clone(&self) -> ClearCookiesBuilder
fn clone(&self) -> ClearCookiesBuilder
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 moreAuto Trait Implementations§
impl Freeze for ClearCookiesBuilder
impl RefUnwindSafe for ClearCookiesBuilder
impl Send for ClearCookiesBuilder
impl Sync for ClearCookiesBuilder
impl Unpin for ClearCookiesBuilder
impl UnsafeUnpin for ClearCookiesBuilder
impl UnwindSafe for ClearCookiesBuilder
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