pub struct ParsedCookie {
pub value: String,
pub max_age: Option<u64>,
pub expires: Option<String>,
pub domain: Option<String>,
pub path: Option<String>,
pub secure: Option<bool>,
pub http_only: Option<bool>,
pub same_site: Option<String>,
pub partitioned: Option<bool>,
}Fields§
§value: String§max_age: Option<u64>§expires: Option<String>§domain: Option<String>§path: Option<String>§secure: Option<bool>§http_only: Option<bool>§same_site: Option<String>§partitioned: Option<bool>Trait Implementations§
Source§impl Clone for ParsedCookie
impl Clone for ParsedCookie
Source§fn clone(&self) -> ParsedCookie
fn clone(&self) -> ParsedCookie
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParsedCookie
impl Debug for ParsedCookie
Source§impl Default for ParsedCookie
impl Default for ParsedCookie
Source§fn default() -> ParsedCookie
fn default() -> ParsedCookie
Returns the “default value” for a type. Read more
impl Eq for ParsedCookie
Source§impl PartialEq for ParsedCookie
impl PartialEq for ParsedCookie
Source§fn eq(&self, other: &ParsedCookie) -> bool
fn eq(&self, other: &ParsedCookie) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParsedCookie
Auto Trait Implementations§
impl Freeze for ParsedCookie
impl RefUnwindSafe for ParsedCookie
impl Send for ParsedCookie
impl Sync for ParsedCookie
impl Unpin for ParsedCookie
impl UnsafeUnpin for ParsedCookie
impl UnwindSafe for ParsedCookie
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.