Struct aws_sdk_qconnect::types::QuickResponseContents
source · #[non_exhaustive]pub struct QuickResponseContents {
pub plain_text: Option<QuickResponseContentProvider>,
pub markdown: Option<QuickResponseContentProvider>,
}Expand description
The content of the quick response stored in different media types.
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.plain_text: Option<QuickResponseContentProvider>The container quick response content.
markdown: Option<QuickResponseContentProvider>The container quick response content.
Implementations§
source§impl QuickResponseContents
impl QuickResponseContents
sourcepub fn plain_text(&self) -> Option<&QuickResponseContentProvider>
pub fn plain_text(&self) -> Option<&QuickResponseContentProvider>
The container quick response content.
sourcepub fn markdown(&self) -> Option<&QuickResponseContentProvider>
pub fn markdown(&self) -> Option<&QuickResponseContentProvider>
The container quick response content.
source§impl QuickResponseContents
impl QuickResponseContents
sourcepub fn builder() -> QuickResponseContentsBuilder
pub fn builder() -> QuickResponseContentsBuilder
Creates a new builder-style object to manufacture QuickResponseContents.
Trait Implementations§
source§impl Clone for QuickResponseContents
impl Clone for QuickResponseContents
source§fn clone(&self) -> QuickResponseContents
fn clone(&self) -> QuickResponseContents
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 QuickResponseContents
impl Debug for QuickResponseContents
source§impl PartialEq for QuickResponseContents
impl PartialEq for QuickResponseContents
source§fn eq(&self, other: &QuickResponseContents) -> bool
fn eq(&self, other: &QuickResponseContents) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for QuickResponseContents
Auto Trait Implementations§
impl RefUnwindSafe for QuickResponseContents
impl Send for QuickResponseContents
impl Sync for QuickResponseContents
impl Unpin for QuickResponseContents
impl UnwindSafe for QuickResponseContents
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.