pub struct Cookie {Show 16 fields
pub name: String,
pub value: String,
pub domain: String,
pub path: String,
pub expires: JsFloat,
pub size: JsUInt,
pub http_only: bool,
pub secure: bool,
pub session: bool,
pub same_site: Option<CookieSameSite>,
pub priority: CookiePriority,
pub same_party: bool,
pub source_scheme: CookieSourceScheme,
pub source_port: JsUInt,
pub partition_key: Option<String>,
pub partition_key_opaque: Option<bool>,
}Fields§
§name: String§value: String§domain: String§path: String§expires: JsFloat§size: JsUInt§http_only: bool§secure: bool§session: bool§same_site: Option<CookieSameSite>§priority: CookiePriority§same_party: bool§source_scheme: CookieSourceScheme§source_port: JsUInt§partition_key: Option<String>§partition_key_opaque: Option<bool>Trait Implementations§
source§impl<'de> Deserialize<'de> for Cookie
impl<'de> Deserialize<'de> for Cookie
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