pub enum CookieExemptionReason {
None,
UserSetting,
TpcdMetadata,
TpcdDeprecationTrial,
TopLevelTpcdDeprecationTrial,
TpcdHeuristics,
EnterprisePolicy,
StorageAccess,
TopLevelStorageAccess,
Scheme,
}
Expand description
Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
Variants§
None
The default value. Cookie with this reason could either be blocked or included.
UserSetting
The cookie should have been blocked by 3PCD but is exempted by explicit user setting.
TpcdMetadata
The cookie should have been blocked by 3PCD but is exempted by metadata mitigation.
TpcdDeprecationTrial
The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
TopLevelTpcdDeprecationTrial
The cookie should have been blocked by 3PCD but is exempted by Top-level Deprecation Trial mitigation.
TpcdHeuristics
The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
EnterprisePolicy
The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
StorageAccess
The cookie should have been blocked by 3PCD but is exempted by Storage Access API.
TopLevelStorageAccess
The cookie should have been blocked by 3PCD but is exempted by Top-level Storage Access API.
Scheme
The cookie should have been blocked by 3PCD but is exempted by the first-party URL scheme.
Trait Implementations§
Source§impl AsRef<str> for CookieExemptionReason
impl AsRef<str> for CookieExemptionReason
Source§impl Clone for CookieExemptionReason
impl Clone for CookieExemptionReason
Source§fn clone(&self) -> CookieExemptionReason
fn clone(&self) -> CookieExemptionReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CookieExemptionReason
impl Debug for CookieExemptionReason
Source§impl<'de> Deserialize<'de> for CookieExemptionReason
impl<'de> Deserialize<'de> for CookieExemptionReason
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CookieExemptionReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CookieExemptionReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl FromStr for CookieExemptionReason
impl FromStr for CookieExemptionReason
Source§impl Hash for CookieExemptionReason
impl Hash for CookieExemptionReason
Source§impl PartialEq for CookieExemptionReason
impl PartialEq for CookieExemptionReason
Source§impl Serialize for CookieExemptionReason
impl Serialize for CookieExemptionReason
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for CookieExemptionReason
impl StructuralPartialEq for CookieExemptionReason
Auto Trait Implementations§
impl Freeze for CookieExemptionReason
impl RefUnwindSafe for CookieExemptionReason
impl Send for CookieExemptionReason
impl Sync for CookieExemptionReason
impl Unpin for CookieExemptionReason
impl UnwindSafe for CookieExemptionReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more