Struct chromiumoxide::cdp::browser_protocol::network::Cookie[][src]

pub struct Cookie {
    pub name: String,
    pub value: String,
    pub domain: String,
    pub path: String,
    pub expires: f64,
    pub size: i64,
    pub http_only: bool,
    pub secure: bool,
    pub session: bool,
    pub same_site: Option<CookieSameSite>,
    pub priority: CookiePriority,
}

Cookie object Cookie

Fields

name: String

Cookie name.

value: String

Cookie value.

domain: String

Cookie domain.

path: String

Cookie path.

expires: f64

Cookie expiration date as the number of seconds since the UNIX epoch.

size: i64

Cookie size.

http_only: bool

True if cookie is http-only.

secure: bool

True if cookie is secure.

session: bool

True in case of session cookie.

same_site: Option<CookieSameSite>

Cookie SameSite type.

priority: CookiePriority

Cookie Priority

Implementations

impl Cookie[src]

impl Cookie[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for Cookie[src]

impl Debug for Cookie[src]

impl<'de> Deserialize<'de> for Cookie[src]

impl PartialEq<Cookie> for Cookie[src]

impl Serialize for Cookie[src]

impl StructuralPartialEq for Cookie[src]

Auto Trait Implementations

impl RefUnwindSafe for Cookie

impl Send for Cookie

impl Sync for Cookie

impl Unpin for Cookie

impl UnwindSafe for Cookie

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,