pub struct AssociatedCookie<'a> { /* private fields */ }Expand description
A cookie associated with the request which may or may not be sent with it. Includes the cookies itself and reasons for blocking or exemption.
Implementations§
Source§impl<'a> AssociatedCookie<'a>
impl<'a> AssociatedCookie<'a>
pub fn builder( cookie: Cookie<'a>, blockedReasons: Vec<CookieBlockedReason>, ) -> AssociatedCookieBuilder<'a>
pub fn blockedReasons(&self) -> &[CookieBlockedReason]
pub fn exemptionReason(&self) -> Option<&CookieExemptionReason>
Trait Implementations§
Source§impl<'a> Clone for AssociatedCookie<'a>
impl<'a> Clone for AssociatedCookie<'a>
Source§fn clone(&self) -> AssociatedCookie<'a>
fn clone(&self) -> AssociatedCookie<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for AssociatedCookie<'a>
impl<'a> Debug for AssociatedCookie<'a>
Source§impl<'a> Default for AssociatedCookie<'a>
impl<'a> Default for AssociatedCookie<'a>
Source§fn default() -> AssociatedCookie<'a>
fn default() -> AssociatedCookie<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for AssociatedCookie<'a>
impl<'de, 'a> Deserialize<'de> for AssociatedCookie<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for AssociatedCookie<'a>
impl<'a> RefUnwindSafe for AssociatedCookie<'a>
impl<'a> Send for AssociatedCookie<'a>
impl<'a> Sync for AssociatedCookie<'a>
impl<'a> Unpin for AssociatedCookie<'a>
impl<'a> UnsafeUnpin for AssociatedCookie<'a>
impl<'a> UnwindSafe for AssociatedCookie<'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