pub struct CreationEventDetails {
pub fetch_result: DeviceBoundSessionFetchResult,
pub new_session: Option<DeviceBoundSession>,
}Expand description
Session event details specific to creation. CreationEventDetails
Fields§
§fetch_result: DeviceBoundSessionFetchResultThe result of the fetch attempt.
new_session: Option<DeviceBoundSession>The session if there was a newly created session. This is populated for all successful creation events.
Implementations§
Source§impl CreationEventDetails
impl CreationEventDetails
pub fn new( fetch_result: impl Into<DeviceBoundSessionFetchResult>, ) -> CreationEventDetails
Source§impl CreationEventDetails
impl CreationEventDetails
pub fn builder() -> CreationEventDetailsBuilder
Source§impl CreationEventDetails
impl CreationEventDetails
pub const IDENTIFIER: &'static str = "Network.CreationEventDetails"
Trait Implementations§
Source§impl Clone for CreationEventDetails
impl Clone for CreationEventDetails
Source§fn clone(&self) -> CreationEventDetails
fn clone(&self) -> CreationEventDetails
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 CreationEventDetails
impl Debug for CreationEventDetails
Source§impl<'de> Deserialize<'de> for CreationEventDetails
impl<'de> Deserialize<'de> for CreationEventDetails
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreationEventDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreationEventDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreationEventDetails
impl PartialEq for CreationEventDetails
Source§impl Serialize for CreationEventDetails
impl Serialize for CreationEventDetails
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 CreationEventDetails
Auto Trait Implementations§
impl Freeze for CreationEventDetails
impl RefUnwindSafe for CreationEventDetails
impl Send for CreationEventDetails
impl Sync for CreationEventDetails
impl Unpin for CreationEventDetails
impl UnsafeUnpin for CreationEventDetails
impl UnwindSafe for CreationEventDetails
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