pub struct DeviceBoundSessionWithUsage {
pub session_key: DeviceBoundSessionKey,
pub usage: DeviceBoundSessionWithUsageUsage,
}Expand description
How a device bound session was used during a request. DeviceBoundSessionWithUsage
Fields§
§session_key: DeviceBoundSessionKeyThe key for the session.
usage: DeviceBoundSessionWithUsageUsageHow the session was used (or not used).
Implementations§
Source§impl DeviceBoundSessionWithUsage
impl DeviceBoundSessionWithUsage
pub fn new( session_key: impl Into<DeviceBoundSessionKey>, usage: impl Into<DeviceBoundSessionWithUsageUsage>, ) -> Self
Source§impl DeviceBoundSessionWithUsage
impl DeviceBoundSessionWithUsage
pub const IDENTIFIER: &'static str = "Network.DeviceBoundSessionWithUsage"
Trait Implementations§
Source§impl Clone for DeviceBoundSessionWithUsage
impl Clone for DeviceBoundSessionWithUsage
Source§fn clone(&self) -> DeviceBoundSessionWithUsage
fn clone(&self) -> DeviceBoundSessionWithUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceBoundSessionWithUsage
impl Debug for DeviceBoundSessionWithUsage
Source§impl Default for DeviceBoundSessionWithUsage
impl Default for DeviceBoundSessionWithUsage
Source§fn default() -> DeviceBoundSessionWithUsage
fn default() -> DeviceBoundSessionWithUsage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceBoundSessionWithUsagewhere
DeviceBoundSessionWithUsage: Default,
impl<'de> Deserialize<'de> for DeviceBoundSessionWithUsagewhere
DeviceBoundSessionWithUsage: Default,
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 DeviceBoundSessionWithUsage
impl PartialEq for DeviceBoundSessionWithUsage
Source§fn eq(&self, other: &DeviceBoundSessionWithUsage) -> bool
fn eq(&self, other: &DeviceBoundSessionWithUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceBoundSessionWithUsage
Auto Trait Implementations§
impl Freeze for DeviceBoundSessionWithUsage
impl RefUnwindSafe for DeviceBoundSessionWithUsage
impl Send for DeviceBoundSessionWithUsage
impl Sync for DeviceBoundSessionWithUsage
impl Unpin for DeviceBoundSessionWithUsage
impl UnsafeUnpin for DeviceBoundSessionWithUsage
impl UnwindSafe for DeviceBoundSessionWithUsage
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