Struct aws_sdk_wisdom::model::ContentSummary
source · [−]#[non_exhaustive]pub struct ContentSummary {
pub content_arn: Option<String>,
pub content_id: Option<String>,
pub knowledge_base_arn: Option<String>,
pub knowledge_base_id: Option<String>,
pub name: Option<String>,
pub revision_id: Option<String>,
pub title: Option<String>,
pub content_type: Option<String>,
pub status: Option<ContentStatus>,
pub metadata: Option<HashMap<String, String>>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Summary information about the content.
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.content_arn: Option<String>
The Amazon Resource Name (ARN) of the content.
content_id: Option<String>
The identifier of the content.
knowledge_base_arn: Option<String>
The Amazon Resource Name (ARN) of the knowledge base.
knowledge_base_id: Option<String>
The the identifier of the knowledge base.
name: Option<String>
The name of the content.
revision_id: Option<String>
The identifier of the revision of the content.
title: Option<String>
The title of the content.
content_type: Option<String>
The media type of the content.
status: Option<ContentStatus>
The status of the content.
metadata: Option<HashMap<String, String>>
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.
The tags used to organize, track, or control access for this resource.
Implementations
sourceimpl ContentSummary
impl ContentSummary
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.
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 the identifier of the knowledge base.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The identifier of the revision of the content.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
The media type of the content.
sourcepub fn status(&self) -> Option<&ContentStatus>
pub fn status(&self) -> Option<&ContentStatus>
The status of the content.
sourcepub fn metadata(&self) -> Option<&HashMap<String, String>>
pub fn metadata(&self) -> Option<&HashMap<String, String>>
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.
The tags used to organize, track, or control access for this resource.
sourceimpl ContentSummary
impl ContentSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ContentSummary
Trait Implementations
sourceimpl Clone for ContentSummary
impl Clone for ContentSummary
sourcefn clone(&self) -> ContentSummary
fn clone(&self) -> ContentSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ContentSummary
impl Debug for ContentSummary
sourceimpl PartialEq<ContentSummary> for ContentSummary
impl PartialEq<ContentSummary> for ContentSummary
sourcefn eq(&self, other: &ContentSummary) -> bool
fn eq(&self, other: &ContentSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ContentSummary) -> bool
fn ne(&self, other: &ContentSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for ContentSummary
Auto Trait Implementations
impl RefUnwindSafe for ContentSummary
impl Send for ContentSummary
impl Sync for ContentSummary
impl Unpin for ContentSummary
impl UnwindSafe for ContentSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more