pub struct AssociatedCookieBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> AssociatedCookieBuilder<'a>
impl<'a> AssociatedCookieBuilder<'a>
Sourcepub fn exemption_reason(
self,
exemption_reason: impl Into<CookieExemptionReason>,
) -> Self
pub fn exemption_reason( self, exemption_reason: impl Into<CookieExemptionReason>, ) -> Self
The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.
pub fn build(self) -> AssociatedCookie<'a>
Auto Trait Implementations§
impl<'a> Freeze for AssociatedCookieBuilder<'a>
impl<'a> RefUnwindSafe for AssociatedCookieBuilder<'a>
impl<'a> Send for AssociatedCookieBuilder<'a>
impl<'a> Sync for AssociatedCookieBuilder<'a>
impl<'a> Unpin for AssociatedCookieBuilder<'a>
impl<'a> UnsafeUnpin for AssociatedCookieBuilder<'a>
impl<'a> UnwindSafe for AssociatedCookieBuilder<'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