pub struct DeleteCookiesParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> DeleteCookiesParamsBuilder<'a>
impl<'a> DeleteCookiesParamsBuilder<'a>
Sourcepub fn url(self, url: impl Into<Cow<'a, str>>) -> Self
pub fn url(self, url: impl Into<Cow<'a, str>>) -> Self
If specified, deletes all the cookies with the given name where domain and path match provided URL.
Sourcepub fn domain(self, domain: impl Into<Cow<'a, str>>) -> Self
pub fn domain(self, domain: impl Into<Cow<'a, str>>) -> Self
If specified, deletes only cookies with the exact domain.
Sourcepub fn path(self, path: impl Into<Cow<'a, str>>) -> Self
pub fn path(self, path: impl Into<Cow<'a, str>>) -> Self
If specified, deletes only cookies with the exact path.
Sourcepub fn partition_key(self, partition_key: CookiePartitionKey<'a>) -> Self
pub fn partition_key(self, partition_key: CookiePartitionKey<'a>) -> Self
If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute.
pub fn build(self) -> DeleteCookiesParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeleteCookiesParamsBuilder<'a>
impl<'a> RefUnwindSafe for DeleteCookiesParamsBuilder<'a>
impl<'a> Send for DeleteCookiesParamsBuilder<'a>
impl<'a> Sync for DeleteCookiesParamsBuilder<'a>
impl<'a> Unpin for DeleteCookiesParamsBuilder<'a>
impl<'a> UnsafeUnpin for DeleteCookiesParamsBuilder<'a>
impl<'a> UnwindSafe for DeleteCookiesParamsBuilder<'a>
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