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<CookiePartitionKey>,
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<CookiePartitionKey>§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
impl StructuralPartialEq for Cookie
Auto Trait Implementations§
impl Freeze for Cookie
impl RefUnwindSafe for Cookie
impl Send for Cookie
impl Sync for Cookie
impl Unpin for Cookie
impl UnwindSafe for Cookie
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more