Struct aws_sdk_qbusiness::operation::chat_sync::ChatSyncOutput
source · #[non_exhaustive]pub struct ChatSyncOutput {
pub conversation_id: Option<String>,
pub system_message: Option<String>,
pub system_message_id: Option<String>,
pub user_message_id: Option<String>,
pub action_review: Option<ActionReview>,
pub source_attributions: Option<Vec<Option<SourceAttribution>>>,
pub failed_attachments: Option<Vec<AttachmentOutput>>,
/* private fields */
}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.conversation_id: Option<String>The identifier of the Amazon Q conversation.
system_message: Option<String>An AI-generated message in a conversation.
system_message_id: Option<String>The identifier of an Amazon Q AI generated message within the conversation.
user_message_id: Option<String>The identifier of an Amazon Q end user text input message within the conversation.
action_review: Option<ActionReview>A request from Amazon Q to the end user for information Amazon Q needs to successfully complete a requested plugin action.
source_attributions: Option<Vec<Option<SourceAttribution>>>The source documents used to generate the conversation response.
failed_attachments: Option<Vec<AttachmentOutput>>A list of files which failed to upload during chat.
Implementations§
source§impl ChatSyncOutput
impl ChatSyncOutput
sourcepub fn conversation_id(&self) -> Option<&str>
pub fn conversation_id(&self) -> Option<&str>
The identifier of the Amazon Q conversation.
sourcepub fn system_message(&self) -> Option<&str>
pub fn system_message(&self) -> Option<&str>
An AI-generated message in a conversation.
sourcepub fn system_message_id(&self) -> Option<&str>
pub fn system_message_id(&self) -> Option<&str>
The identifier of an Amazon Q AI generated message within the conversation.
sourcepub fn user_message_id(&self) -> Option<&str>
pub fn user_message_id(&self) -> Option<&str>
The identifier of an Amazon Q end user text input message within the conversation.
sourcepub fn action_review(&self) -> Option<&ActionReview>
pub fn action_review(&self) -> Option<&ActionReview>
A request from Amazon Q to the end user for information Amazon Q needs to successfully complete a requested plugin action.
sourcepub fn source_attributions(&self) -> &[Option<SourceAttribution>]
pub fn source_attributions(&self) -> &[Option<SourceAttribution>]
The source documents used to generate the conversation response.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .source_attributions.is_none().
sourcepub fn failed_attachments(&self) -> &[AttachmentOutput]
pub fn failed_attachments(&self) -> &[AttachmentOutput]
A list of files which failed to upload during chat.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failed_attachments.is_none().
source§impl ChatSyncOutput
impl ChatSyncOutput
sourcepub fn builder() -> ChatSyncOutputBuilder
pub fn builder() -> ChatSyncOutputBuilder
Creates a new builder-style object to manufacture ChatSyncOutput.
Trait Implementations§
source§impl Clone for ChatSyncOutput
impl Clone for ChatSyncOutput
source§fn clone(&self) -> ChatSyncOutput
fn clone(&self) -> ChatSyncOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ChatSyncOutput
impl Debug for ChatSyncOutput
source§impl PartialEq for ChatSyncOutput
impl PartialEq for ChatSyncOutput
source§fn eq(&self, other: &ChatSyncOutput) -> bool
fn eq(&self, other: &ChatSyncOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ChatSyncOutput
impl RequestId for ChatSyncOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.