Struct chrome_remote_interface_model::network::SetCookieCommand [−][src]
pub struct SetCookieCommand { /* fields omitted */ }
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
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 SameSite type.
Cookie expiration date, session cookie if not set
This is supported on crate feature experimental
only.
experimental
only.Cookie Priority type.
This is supported on crate feature experimental
only.
experimental
only.True if cookie is SameParty.
This is supported on crate feature experimental
only.
experimental
only.Cookie source scheme type.
This is supported on crate feature experimental
only.
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SetCookieCommand
impl Send for SetCookieCommand
impl Sync for SetCookieCommand
impl Unpin for SetCookieCommand
impl UnwindSafe for SetCookieCommand
Blanket Implementations
Mutably borrows from an owned value. Read more