Struct aws_sdk_qconnect::types::builders::TextDataBuilder
source · #[non_exhaustive]pub struct TextDataBuilder { /* private fields */ }Expand description
A builder for TextData.
Implementations§
source§impl TextDataBuilder
impl TextDataBuilder
sourcepub fn title(self, input: DocumentText) -> Self
pub fn title(self, input: DocumentText) -> Self
The text of the document.
sourcepub fn set_title(self, input: Option<DocumentText>) -> Self
pub fn set_title(self, input: Option<DocumentText>) -> Self
The text of the document.
sourcepub fn get_title(&self) -> &Option<DocumentText>
pub fn get_title(&self) -> &Option<DocumentText>
The text of the document.
sourcepub fn excerpt(self, input: DocumentText) -> Self
pub fn excerpt(self, input: DocumentText) -> Self
The text of the document.
sourcepub fn set_excerpt(self, input: Option<DocumentText>) -> Self
pub fn set_excerpt(self, input: Option<DocumentText>) -> Self
The text of the document.
sourcepub fn get_excerpt(&self) -> &Option<DocumentText>
pub fn get_excerpt(&self) -> &Option<DocumentText>
The text of the document.
Trait Implementations§
source§impl Clone for TextDataBuilder
impl Clone for TextDataBuilder
source§fn clone(&self) -> TextDataBuilder
fn clone(&self) -> TextDataBuilder
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 TextDataBuilder
impl Debug for TextDataBuilder
source§impl Default for TextDataBuilder
impl Default for TextDataBuilder
source§fn default() -> TextDataBuilder
fn default() -> TextDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TextDataBuilder
impl PartialEq for TextDataBuilder
source§fn eq(&self, other: &TextDataBuilder) -> bool
fn eq(&self, other: &TextDataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TextDataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TextDataBuilder
impl Send for TextDataBuilder
impl Sync for TextDataBuilder
impl Unpin for TextDataBuilder
impl UnwindSafe for TextDataBuilder
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.