Struct cdp::network::CookieParam [] [src]

pub struct CookieParam<'a> {
    pub name: Cow<'a, str>,
    pub value: Cow<'a, str>,
    pub url: Option<Cow<'a, str>>,
    pub domain: Option<Cow<'a, str>>,
    pub path: Option<Cow<'a, str>>,
    pub secure: Option<bool>,
    pub http_only: Option<bool>,
    pub same_site: Option<CookieSameSite>,
    pub expires: Option<TimeSinceEpoch>,
}

[Experimental] Cookie parameter object

Fields

Cookie name.

Cookie value.

The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie.

Cookie domain.

Cookie path.

True if cookie is secure.

True if cookie is http-only.

Cookie SameSite type.

Cookie expiration date, session cookie if not set

Trait Implementations

impl<'a> Clone for CookieParam<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for CookieParam<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for CookieParam<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.