Struct headless_chrome::protocol::cdp::Network::CookieParam
source · pub struct CookieParam {Show 14 fields
pub name: String,
pub value: String,
pub url: Option<String>,
pub domain: Option<String>,
pub path: Option<String>,
pub secure: Option<bool>,
pub http_only: Option<bool>,
pub same_site: Option<CookieSameSite>,
pub expires: Option<TimeSinceEpoch>,
pub priority: Option<CookiePriority>,
pub same_party: Option<bool>,
pub source_scheme: Option<CookieSourceScheme>,
pub source_port: Option<JsUInt>,
pub partition_key: Option<String>,
}Fields§
§name: String§value: String§url: Option<String>§domain: Option<String>§path: Option<String>§secure: Option<bool>§http_only: Option<bool>§same_site: Option<CookieSameSite>§expires: Option<TimeSinceEpoch>§priority: Option<CookiePriority>§same_party: Option<bool>§source_scheme: Option<CookieSourceScheme>§source_port: Option<JsUInt>§partition_key: Option<String>Trait Implementations§
source§impl Clone for CookieParam
impl Clone for CookieParam
source§fn clone(&self) -> CookieParam
fn clone(&self) -> CookieParam
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CookieParam
impl Debug for CookieParam
source§impl<'de> Deserialize<'de> for CookieParam
impl<'de> Deserialize<'de> for CookieParam
source§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
source§impl From<CookieParam> for DeleteCookies
impl From<CookieParam> for DeleteCookies
source§fn from(v: CookieParam) -> Self
fn from(v: CookieParam) -> Self
Converts to this type from the input type.