pub struct SetCookiesBuilder { /* private fields */ }Expand description
Builder for SetCookies.
Implementations§
Source§impl SetCookiesBuilder
impl SetCookiesBuilder
Cookies to be set.
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<SetCookies, SetCookiesBuilderError>
pub fn build(&self) -> Result<SetCookies, SetCookiesBuilderError>
Trait Implementations§
Source§impl Clone for SetCookiesBuilder
impl Clone for SetCookiesBuilder
Source§fn clone(&self) -> SetCookiesBuilder
fn clone(&self) -> SetCookiesBuilder
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 SetCookiesBuilder
impl RefUnwindSafe for SetCookiesBuilder
impl Send for SetCookiesBuilder
impl Sync for SetCookiesBuilder
impl Unpin for SetCookiesBuilder
impl UnsafeUnpin for SetCookiesBuilder
impl UnwindSafe for SetCookiesBuilder
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