Struct chrome_remote_interface_model::network::SetCookieCommand[][src]

pub struct SetCookieCommand { /* fields omitted */ }
This is supported on crate features Network and Debugger and Runtime and Security only.
Expand description

Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.

Implementations

Cookie name.

Cookie value.

The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme 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

This is supported on crate feature experimental only.

Cookie Priority type.

This is supported on crate feature experimental only.

True if cookie is SameParty.

This is supported on crate feature experimental only.

Cookie source scheme type.

This is supported on crate feature experimental only.

Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Return type.

Command method name.

Into command request.

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.