pub struct DeviceBoundSession {
pub key: DeviceBoundSessionKey,
pub refresh_url: String,
pub inclusion_rules: DeviceBoundSessionInclusionRules,
pub cookie_cravings: Vec<DeviceBoundSessionCookieCraving>,
pub expiry_date: TimeSinceEpoch,
pub cached_challenge: Option<String>,
pub allowed_refresh_initiators: Vec<String>,
}Expand description
A device bound session. DeviceBoundSession
Fields§
§key: DeviceBoundSessionKeyThe site and session ID of the session.
refresh_url: StringSee comments on net::device_bound_sessions::Session::refresh_url_.
inclusion_rules: DeviceBoundSessionInclusionRulesSee comments on net::device_bound_sessions::Session::inclusion_rules_.
See comments on net::device_bound_sessions::Session::cookie_cravings_.
expiry_date: TimeSinceEpochSee comments on net::device_bound_sessions::Session::expiry_date_.
cached_challenge: Option<String>See comments on net::device_bound_sessions::Session::cached_challenge__.
allowed_refresh_initiators: Vec<String>See comments on net::device_bound_sessions::Session::allowed_refresh_initiators_.
Implementations§
Source§impl DeviceBoundSession
impl DeviceBoundSession
pub fn builder() -> DeviceBoundSessionBuilder
Source§impl DeviceBoundSession
impl DeviceBoundSession
pub const IDENTIFIER: &'static str = "Network.DeviceBoundSession"
Trait Implementations§
Source§impl Clone for DeviceBoundSession
impl Clone for DeviceBoundSession
Source§fn clone(&self) -> DeviceBoundSession
fn clone(&self) -> DeviceBoundSession
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 Debug for DeviceBoundSession
impl Debug for DeviceBoundSession
Source§impl<'de> Deserialize<'de> for DeviceBoundSession
impl<'de> Deserialize<'de> for DeviceBoundSession
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeviceBoundSession, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeviceBoundSession, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeviceBoundSession
impl PartialEq for DeviceBoundSession
Source§impl Serialize for DeviceBoundSession
impl Serialize for DeviceBoundSession
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 DeviceBoundSession
Auto Trait Implementations§
impl Freeze for DeviceBoundSession
impl RefUnwindSafe for DeviceBoundSession
impl Send for DeviceBoundSession
impl Sync for DeviceBoundSession
impl Unpin for DeviceBoundSession
impl UnwindSafe for DeviceBoundSession
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