Enum webview2_sys::CookieSameSiteKind[][src]

#[repr(u32)]
pub enum CookieSameSiteKind {
    None,
    Lax,
    Strict,
}

Kind of cookie SameSite status used in the ICoreWebView2Cookie interface. These fields match those as specified in https://developer.mozilla.org/docs/Web/HTTP/Cookies#. Learn more about SameSite cookies here: https://tools.ietf.org/html/draft-west-first-party-cookies-07

Variants

None

None SameSite type. No restrictions on cross-site requests.

Lax

Lax SameSite type. The cookie will be sent with “same-site” requests, and with “cross-site” top level navigation.

Strict

Strict SameSite type. The cookie will only be sent along with “same-site” requests.

Trait Implementations

impl Clone for CookieSameSiteKind[src]

impl Copy for CookieSameSiteKind[src]

impl Debug for CookieSameSiteKind[src]

impl Eq for CookieSameSiteKind[src]

impl PartialEq<CookieSameSiteKind> for CookieSameSiteKind[src]

impl StructuralEq for CookieSameSiteKind[src]

impl StructuralPartialEq for CookieSameSiteKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.