pub struct TerminationEventDetails {
pub deletion_reason: TerminationEventDetailsDeletionReason,
}Expand description
Session event details specific to termination. TerminationEventDetails
Fields§
§deletion_reason: TerminationEventDetailsDeletionReasonThe reason for a session being deleted.
Implementations§
Source§impl TerminationEventDetails
impl TerminationEventDetails
pub fn new( deletion_reason: impl Into<TerminationEventDetailsDeletionReason>, ) -> TerminationEventDetails
Source§impl TerminationEventDetails
impl TerminationEventDetails
pub const IDENTIFIER: &'static str = "Network.TerminationEventDetails"
Trait Implementations§
Source§impl Clone for TerminationEventDetails
impl Clone for TerminationEventDetails
Source§fn clone(&self) -> TerminationEventDetails
fn clone(&self) -> TerminationEventDetails
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 TerminationEventDetails
impl Debug for TerminationEventDetails
Source§impl Default for TerminationEventDetails
impl Default for TerminationEventDetails
Source§fn default() -> TerminationEventDetails
fn default() -> TerminationEventDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TerminationEventDetailswhere
TerminationEventDetails: Default,
impl<'de> Deserialize<'de> for TerminationEventDetailswhere
TerminationEventDetails: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TerminationEventDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TerminationEventDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TerminationEventDetails
impl PartialEq for TerminationEventDetails
Source§impl Serialize for TerminationEventDetails
impl Serialize for TerminationEventDetails
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 TerminationEventDetails
Auto Trait Implementations§
impl Freeze for TerminationEventDetails
impl RefUnwindSafe for TerminationEventDetails
impl Send for TerminationEventDetails
impl Sync for TerminationEventDetails
impl Unpin for TerminationEventDetails
impl UnsafeUnpin for TerminationEventDetails
impl UnwindSafe for TerminationEventDetails
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