#[non_exhaustive]pub struct ConversationLogSettings {
pub text_log_settings: Option<Vec<TextLogSetting>>,
pub audio_log_settings: Option<Vec<AudioLogSetting>>,
}
Expand description
Configures conversation logging that saves audio, text, and metadata for the conversations with your users.
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.text_log_settings: Option<Vec<TextLogSetting>>
The Amazon CloudWatch Logs settings for logging text and metadata.
audio_log_settings: Option<Vec<AudioLogSetting>>
The Amazon S3 settings for logging audio to an S3 bucket.
Implementations§
source§impl ConversationLogSettings
impl ConversationLogSettings
sourcepub fn text_log_settings(&self) -> &[TextLogSetting]
pub fn text_log_settings(&self) -> &[TextLogSetting]
The Amazon CloudWatch Logs settings for logging text and metadata.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .text_log_settings.is_none()
.
sourcepub fn audio_log_settings(&self) -> &[AudioLogSetting]
pub fn audio_log_settings(&self) -> &[AudioLogSetting]
The Amazon S3 settings for logging audio to an S3 bucket.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .audio_log_settings.is_none()
.
source§impl ConversationLogSettings
impl ConversationLogSettings
sourcepub fn builder() -> ConversationLogSettingsBuilder
pub fn builder() -> ConversationLogSettingsBuilder
Creates a new builder-style object to manufacture ConversationLogSettings
.
Trait Implementations§
source§impl Clone for ConversationLogSettings
impl Clone for ConversationLogSettings
source§fn clone(&self) -> ConversationLogSettings
fn clone(&self) -> ConversationLogSettings
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 ConversationLogSettings
impl Debug for ConversationLogSettings
source§impl PartialEq for ConversationLogSettings
impl PartialEq for ConversationLogSettings
source§fn eq(&self, other: &ConversationLogSettings) -> bool
fn eq(&self, other: &ConversationLogSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConversationLogSettings
Auto Trait Implementations§
impl RefUnwindSafe for ConversationLogSettings
impl Send for ConversationLogSettings
impl Sync for ConversationLogSettings
impl Unpin for ConversationLogSettings
impl UnwindSafe for ConversationLogSettings
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>
Creates a shared type from an unshared type.