Enum chromiumoxide_cdp::cdp::browser_protocol::network::CookieBlockedReason [−][src]
Types of reasons why a cookie may not be sent with a request.
Variants
The cookie had the “Secure” attribute and the connection was not secure.
The cookie’s path was not within the request url’s path.
The cookie’s domain is not configured to match the request url’s domain, even though they share a common TLD+1 (TLD+1 of foo.bar.example.com is example.com).
The cookie had the “SameSite=Strict” attribute and the request was made on on a different site. This includes navigation requests initiated by other sites.
The cookie had the “SameSite=Lax” attribute and the request was made on a different site. This does not include navigation requests initiated by other sites.
The cookie didn’t specify a SameSite attribute when it was stored and was defaulted to “SameSite=Lax” and broke the same rules specified in the SameSiteLax value. The cookie had to have been set with “SameSite=None” to enable third-party usage.
The cookie had the “SameSite=None” attribute and the connection was not secure. Cookies without SameSite restrictions must be sent over a secure connection.
The cookie was not sent due to user preferences.
An unknown error was encountered when trying to send this cookie.
The cookie had the “SameSite=Strict” attribute but came from a response with the same registrable domain but a different scheme. This includes navigation requests intitiated by other origins. This is the “Schemeful Same-Site” version of the blocked reason.
The cookie had the “SameSite=Lax” attribute but came from a response with the same registrable domain but a different scheme. This is the “Schemeful Same-Site” version of the blocked reason.
The cookie didn’t specify a “SameSite” attribute and was defaulted to “SameSite=Lax” and broke the same rules specified in the SchemefulSameSiteLax value. This is the “Schemeful Same-Site” version of the blocked reason.
Trait Implementations
impl AsRef<str> for CookieBlockedReason
[src]
impl Clone for CookieBlockedReason
[src]
fn clone(&self) -> CookieBlockedReason
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CookieBlockedReason
[src]
impl<'de> Deserialize<'de> for CookieBlockedReason
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for CookieBlockedReason
[src]
impl FromStr for CookieBlockedReason
[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for CookieBlockedReason
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<CookieBlockedReason> for CookieBlockedReason
[src]
fn eq(&self, other: &CookieBlockedReason) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for CookieBlockedReason
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for CookieBlockedReason
[src]
impl StructuralPartialEq for CookieBlockedReason
[src]
Auto Trait Implementations
impl RefUnwindSafe for CookieBlockedReason
impl Send for CookieBlockedReason
impl Sync for CookieBlockedReason
impl Unpin for CookieBlockedReason
impl UnwindSafe for CookieBlockedReason
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,