pub struct AssociatedCookie {
pub cookie: Cookie,
pub blockedReasons: Vec<CookieBlockedReason>,
pub exemptionReason: Option<CookieExemptionReason>,
}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.
Fields§
The cookie object representing the cookie which was not sent.
blockedReasons: Vec<CookieBlockedReason>The reason(s) the cookie was blocked. If empty means the cookie is included.
exemptionReason: Option<CookieExemptionReason>The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.
Trait Implementations§
Source§impl Clone for AssociatedCookie
impl Clone for AssociatedCookie
Source§fn clone(&self) -> AssociatedCookie
fn clone(&self) -> AssociatedCookie
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 moreSource§impl Debug for AssociatedCookie
impl Debug for AssociatedCookie
Source§impl Default for AssociatedCookie
impl Default for AssociatedCookie
Source§fn default() -> AssociatedCookie
fn default() -> AssociatedCookie
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssociatedCookie
impl<'de> Deserialize<'de> for AssociatedCookie
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 Freeze for AssociatedCookie
impl RefUnwindSafe for AssociatedCookie
impl Send for AssociatedCookie
impl Sync for AssociatedCookie
impl Unpin for AssociatedCookie
impl UnsafeUnpin for AssociatedCookie
impl UnwindSafe for AssociatedCookie
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