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. DeviceBoundSessionCookieCraving
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.
Implementations§
Source§impl DeviceBoundSessionCookieCraving
impl DeviceBoundSessionCookieCraving
pub fn builder() -> DeviceBoundSessionCookieCravingBuilder
Source§impl DeviceBoundSessionCookieCraving
impl DeviceBoundSessionCookieCraving
pub const IDENTIFIER: &'static str = "Network.DeviceBoundSessionCookieCraving"
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<DeviceBoundSessionCookieCraving, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeviceBoundSessionCookieCraving, <__D as Deserializer<'de>>::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 ==.Source§impl Serialize for DeviceBoundSessionCookieCraving
impl Serialize for DeviceBoundSessionCookieCraving
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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