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.
Experimental: may change without notice.
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<'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
impl StructuralPartialEq for DeviceBoundSessionCookieCraving
Auto Trait Implementations§
impl Forget for DeviceBoundSessionCookieCraving
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