Struct aws_sdk_comprehend::operation::batch_detect_dominant_language::BatchDetectDominantLanguageInput
source · #[non_exhaustive]pub struct BatchDetectDominantLanguageInput {
pub text_list: Option<Vec<String>>,
}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.text_list: Option<Vec<String>>A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. Each document should contain at least 20 characters. The maximum size of each document is 5 KB.
Implementations§
source§impl BatchDetectDominantLanguageInput
impl BatchDetectDominantLanguageInput
sourcepub fn text_list(&self) -> &[String]
pub fn text_list(&self) -> &[String]
A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. Each document should contain at least 20 characters. The maximum size of each document is 5 KB.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .text_list.is_none().
source§impl BatchDetectDominantLanguageInput
impl BatchDetectDominantLanguageInput
sourcepub fn builder() -> BatchDetectDominantLanguageInputBuilder
pub fn builder() -> BatchDetectDominantLanguageInputBuilder
Creates a new builder-style object to manufacture BatchDetectDominantLanguageInput.
Trait Implementations§
source§impl Clone for BatchDetectDominantLanguageInput
impl Clone for BatchDetectDominantLanguageInput
source§fn clone(&self) -> BatchDetectDominantLanguageInput
fn clone(&self) -> BatchDetectDominantLanguageInput
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 PartialEq for BatchDetectDominantLanguageInput
impl PartialEq for BatchDetectDominantLanguageInput
source§fn eq(&self, other: &BatchDetectDominantLanguageInput) -> bool
fn eq(&self, other: &BatchDetectDominantLanguageInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchDetectDominantLanguageInput
Auto Trait Implementations§
impl RefUnwindSafe for BatchDetectDominantLanguageInput
impl Send for BatchDetectDominantLanguageInput
impl Sync for BatchDetectDominantLanguageInput
impl Unpin for BatchDetectDominantLanguageInput
impl UnwindSafe for BatchDetectDominantLanguageInput
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.