pub struct Cookie<'a>(_);
Expand description
Returns true if the ‘HttpOnly’ directive is enabled.
Returns true if the ‘Secure’ directive is enabled.
Returns true if ‘SameSite’ directive is ‘Lax’.
Returns true if ‘SameSite’ directive is ‘Strict’.
Returns the path directive of the cookie, if set.
pub fn domain(&self) -> Option<&str>
Returns the domain directive of the cookie, if set.
Get the Max-Age information.
The cookie expiration time.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the current Span
, returning an
Instrumented
wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,