Struct aws_sdk_wisdom::types::Document
source · #[non_exhaustive]pub struct Document {
pub content_reference: Option<ContentReference>,
pub title: Option<DocumentText>,
pub excerpt: Option<DocumentText>,
}
Expand description
The document.
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.content_reference: Option<ContentReference>
A reference to the content resource.
title: Option<DocumentText>
The title of the document.
excerpt: Option<DocumentText>
The excerpt from the document.
Implementations§
source§impl Document
impl Document
sourcepub fn content_reference(&self) -> Option<&ContentReference>
pub fn content_reference(&self) -> Option<&ContentReference>
A reference to the content resource.
sourcepub fn title(&self) -> Option<&DocumentText>
pub fn title(&self) -> Option<&DocumentText>
The title of the document.
sourcepub fn excerpt(&self) -> Option<&DocumentText>
pub fn excerpt(&self) -> Option<&DocumentText>
The excerpt from the document.
Trait Implementations§
source§impl PartialEq<Document> for Document
impl PartialEq<Document> for Document
impl StructuralPartialEq for Document
Auto Trait Implementations§
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
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