pub struct DeleteCookieBuilder { /* private fields */ }Expand description
Builder for DeleteCookie.
Implementations§
Source§impl DeleteCookieBuilder
impl DeleteCookieBuilder
Name of the cookie to remove.
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
URL to match cooke domain and path.
Sourcepub fn build(&self) -> Result<DeleteCookie, DeleteCookieBuilderError>
pub fn build(&self) -> Result<DeleteCookie, DeleteCookieBuilderError>
Trait Implementations§
Source§impl Clone for DeleteCookieBuilder
impl Clone for DeleteCookieBuilder
Source§fn clone(&self) -> DeleteCookieBuilder
fn clone(&self) -> DeleteCookieBuilder
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 DeleteCookieBuilder
impl RefUnwindSafe for DeleteCookieBuilder
impl Send for DeleteCookieBuilder
impl Sync for DeleteCookieBuilder
impl Unpin for DeleteCookieBuilder
impl UnsafeUnpin for DeleteCookieBuilder
impl UnwindSafe for DeleteCookieBuilder
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