Struct aws_sdk_lexmodelsv2::types::TextLogSetting
source · #[non_exhaustive]pub struct TextLogSetting {
pub enabled: bool,
pub destination: Option<TextLogDestination>,
pub selective_logging_enabled: Option<bool>,
}
Expand description
Defines settings to enable text conversation 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.enabled: bool
Determines whether conversation logs should be stored for an alias.
destination: Option<TextLogDestination>
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
selective_logging_enabled: Option<bool>
The option to enable selective conversation log capture for text.
Implementations§
source§impl TextLogSetting
impl TextLogSetting
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
Determines whether conversation logs should be stored for an alias.
sourcepub fn destination(&self) -> Option<&TextLogDestination>
pub fn destination(&self) -> Option<&TextLogDestination>
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
sourcepub fn selective_logging_enabled(&self) -> Option<bool>
pub fn selective_logging_enabled(&self) -> Option<bool>
The option to enable selective conversation log capture for text.
source§impl TextLogSetting
impl TextLogSetting
sourcepub fn builder() -> TextLogSettingBuilder
pub fn builder() -> TextLogSettingBuilder
Creates a new builder-style object to manufacture TextLogSetting
.
Trait Implementations§
source§impl Clone for TextLogSetting
impl Clone for TextLogSetting
source§fn clone(&self) -> TextLogSetting
fn clone(&self) -> TextLogSetting
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 TextLogSetting
impl Debug for TextLogSetting
source§impl PartialEq for TextLogSetting
impl PartialEq for TextLogSetting
source§fn eq(&self, other: &TextLogSetting) -> bool
fn eq(&self, other: &TextLogSetting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextLogSetting
Auto Trait Implementations§
impl RefUnwindSafe for TextLogSetting
impl Send for TextLogSetting
impl Sync for TextLogSetting
impl Unpin for TextLogSetting
impl UnwindSafe for TextLogSetting
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.