Struct aws_sdk_qconnect::types::ContentReference
source · #[non_exhaustive]pub struct ContentReference {
pub knowledge_base_arn: Option<String>,
pub knowledge_base_id: Option<String>,
pub content_arn: Option<String>,
pub content_id: Option<String>,
}Expand description
Reference information about the content.
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.knowledge_base_arn: Option<String>The Amazon Resource Name (ARN) of the knowledge base.
knowledge_base_id: Option<String>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.
content_arn: Option<String>The Amazon Resource Name (ARN) of the content.
content_id: Option<String>The identifier of the content.
Implementations§
source§impl ContentReference
impl ContentReference
sourcepub fn knowledge_base_arn(&self) -> Option<&str>
pub fn knowledge_base_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the knowledge base.
sourcepub fn knowledge_base_id(&self) -> Option<&str>
pub fn knowledge_base_id(&self) -> Option<&str>
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.
sourcepub fn content_arn(&self) -> Option<&str>
pub fn content_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the content.
sourcepub fn content_id(&self) -> Option<&str>
pub fn content_id(&self) -> Option<&str>
The identifier of the content.
source§impl ContentReference
impl ContentReference
sourcepub fn builder() -> ContentReferenceBuilder
pub fn builder() -> ContentReferenceBuilder
Creates a new builder-style object to manufacture ContentReference.
Trait Implementations§
source§impl Clone for ContentReference
impl Clone for ContentReference
source§fn clone(&self) -> ContentReference
fn clone(&self) -> ContentReference
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 ContentReference
impl Debug for ContentReference
source§impl PartialEq for ContentReference
impl PartialEq for ContentReference
source§fn eq(&self, other: &ContentReference) -> bool
fn eq(&self, other: &ContentReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContentReference
Auto Trait Implementations§
impl RefUnwindSafe for ContentReference
impl Send for ContentReference
impl Sync for ContentReference
impl Unpin for ContentReference
impl UnwindSafe for ContentReference
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.