#[non_exhaustive]pub struct DetectKeyPhrasesInput {
pub text: Option<String>,
pub language_code: Option<LanguageCode>,
}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: Option<String>A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.
language_code: Option<LanguageCode>The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
Implementations§
source§impl DetectKeyPhrasesInput
impl DetectKeyPhrasesInput
sourcepub fn text(&self) -> Option<&str>
pub fn text(&self) -> Option<&str>
A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.
sourcepub fn language_code(&self) -> Option<&LanguageCode>
pub fn language_code(&self) -> Option<&LanguageCode>
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
source§impl DetectKeyPhrasesInput
impl DetectKeyPhrasesInput
sourcepub fn builder() -> DetectKeyPhrasesInputBuilder
pub fn builder() -> DetectKeyPhrasesInputBuilder
Creates a new builder-style object to manufacture DetectKeyPhrasesInput.
Trait Implementations§
source§impl Clone for DetectKeyPhrasesInput
impl Clone for DetectKeyPhrasesInput
source§fn clone(&self) -> DetectKeyPhrasesInput
fn clone(&self) -> DetectKeyPhrasesInput
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 DetectKeyPhrasesInput
impl Debug for DetectKeyPhrasesInput
source§impl PartialEq for DetectKeyPhrasesInput
impl PartialEq for DetectKeyPhrasesInput
source§fn eq(&self, other: &DetectKeyPhrasesInput) -> bool
fn eq(&self, other: &DetectKeyPhrasesInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DetectKeyPhrasesInput
Auto Trait Implementations§
impl RefUnwindSafe for DetectKeyPhrasesInput
impl Send for DetectKeyPhrasesInput
impl Sync for DetectKeyPhrasesInput
impl Unpin for DetectKeyPhrasesInput
impl UnwindSafe for DetectKeyPhrasesInput
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.