pub struct DeviceBoundSessionCookieCraving {
pub name: String,
pub domain: String,
pub path: String,
pub secure: bool,
pub httpOnly: bool,
pub sameSite: 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.
httpOnly: boolThe ‘HttpOnly’ attribute of the craving attributes.
sameSite: 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 Default for DeviceBoundSessionCookieCraving
impl Default for DeviceBoundSessionCookieCraving
Source§fn default() -> DeviceBoundSessionCookieCraving
fn default() -> DeviceBoundSessionCookieCraving
Returns the “default value” for a type. Read more
Source§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
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