Struct aws_sdk_lexruntimev2::types::DisconnectionEvent
source · #[non_exhaustive]pub struct DisconnectionEvent {
pub event_id: Option<String>,
pub client_timestamp_millis: i64,
}Expand description
A notification from the client that it is disconnecting from Amazon Lex V2. Sending a DisconnectionEvent event is optional, but can help identify a conversation in logs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.event_id: Option<String>A unique identifier that your application assigns to the event. You can use this to identify events in logs.
client_timestamp_millis: i64A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
Implementations§
source§impl DisconnectionEvent
impl DisconnectionEvent
sourcepub fn builder() -> DisconnectionEventBuilder
pub fn builder() -> DisconnectionEventBuilder
Creates a new builder-style object to manufacture DisconnectionEvent.
Trait Implementations§
source§impl Clone for DisconnectionEvent
impl Clone for DisconnectionEvent
source§fn clone(&self) -> DisconnectionEvent
fn clone(&self) -> DisconnectionEvent
Returns a copy 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 DisconnectionEvent
impl Debug for DisconnectionEvent
source§impl PartialEq for DisconnectionEvent
impl PartialEq for DisconnectionEvent
source§fn eq(&self, other: &DisconnectionEvent) -> bool
fn eq(&self, other: &DisconnectionEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DisconnectionEvent
Auto Trait Implementations§
impl Freeze for DisconnectionEvent
impl RefUnwindSafe for DisconnectionEvent
impl Send for DisconnectionEvent
impl Sync for DisconnectionEvent
impl Unpin for DisconnectionEvent
impl UnwindSafe for DisconnectionEvent
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.