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<CookiePartitionKey>,
}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<CookiePartitionKey>Trait Implementations§
Source§impl Clone for CookieParam
impl Clone for CookieParam
Source§fn clone(&self) -> CookieParam
fn clone(&self) -> CookieParam
Returns a duplicate 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 PartialEq for CookieParam
impl PartialEq for CookieParam
Source§impl Serialize for CookieParam
impl Serialize for CookieParam
impl StructuralPartialEq for CookieParam
Auto Trait Implementations§
impl Freeze for CookieParam
impl RefUnwindSafe for CookieParam
impl Send for CookieParam
impl Sync for CookieParam
impl Unpin for CookieParam
impl UnwindSafe for CookieParam
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