pub struct DeviceBoundSessionCookieCraving {
pub name: String,
pub domain: String,
pub path: String,
pub secure: bool,
pub http_only: bool,
pub same_site: Option<CookieSameSite>,
}Expand description
A device bound session’s cookie craving.
Fields§
§name: StringThe name of the craving.
domain: StringThe domain of the craving.
path: StringThe path of the craving.
secure: boolThe Secure attribute of the craving attributes.
http_only: boolThe HttpOnly attribute of the craving attributes.
same_site: Option<CookieSameSite>The SameSite attribute of the craving attributes.
Trait Implementations§
Source§impl Clone for DeviceBoundSessionCookieCraving
impl Clone for DeviceBoundSessionCookieCraving
Source§fn clone(&self) -> DeviceBoundSessionCookieCraving
fn clone(&self) -> DeviceBoundSessionCookieCraving
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<'de> Deserialize<'de> for DeviceBoundSessionCookieCraving
impl<'de> Deserialize<'de> for DeviceBoundSessionCookieCraving
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 DeviceBoundSessionCookieCraving
impl PartialEq for DeviceBoundSessionCookieCraving
Source§fn eq(&self, other: &DeviceBoundSessionCookieCraving) -> bool
fn eq(&self, other: &DeviceBoundSessionCookieCraving) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceBoundSessionCookieCraving
Auto Trait Implementations§
impl Freeze for DeviceBoundSessionCookieCraving
impl RefUnwindSafe for DeviceBoundSessionCookieCraving
impl Send for DeviceBoundSessionCookieCraving
impl Sync for DeviceBoundSessionCookieCraving
impl Unpin for DeviceBoundSessionCookieCraving
impl UnsafeUnpin for DeviceBoundSessionCookieCraving
impl UnwindSafe for DeviceBoundSessionCookieCraving
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