Struct aws_sdk_connectparticipant::model::Item [−][src]
#[non_exhaustive]pub struct Item {
pub absolute_time: Option<String>,
pub content: Option<String>,
pub content_type: Option<String>,
pub id: Option<String>,
pub type: Option<ChatItemType>,
pub participant_id: Option<String>,
pub display_name: Option<String>,
pub participant_role: Option<ParticipantRole>,
pub attachments: Option<Vec<AttachmentItem>>,
}
Expand description
An item - message or event - that has been sent.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.absolute_time: Option<String>
The time when the message or event was sent.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
content: Option<String>
The content of the message or event.
content_type: Option<String>
The type of content of the item.
id: Option<String>
The ID of the item.
type: Option<ChatItemType>
Type of the item: message or event.
participant_id: Option<String>
The ID of the sender in the session.
display_name: Option<String>
The chat display name of the sender.
participant_role: Option<ParticipantRole>
The role of the sender. For example, is it a customer, agent, or system.
attachments: Option<Vec<AttachmentItem>>
Provides information about the attachments.
Implementations
The time when the message or event was sent.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
The type of content of the item.
Type of the item: message or event.
The ID of the sender in the session.
The chat display name of the sender.
The role of the sender. For example, is it a customer, agent, or system.
Provides information about the attachments.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Item
impl UnwindSafe for Item
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more