Struct aws_sdk_translate::types::AppliedTerminology
source · #[non_exhaustive]pub struct AppliedTerminology {
pub name: Option<String>,
pub terms: Option<Vec<Term>>,
}Expand description
The custom terminology applied to the input text by Amazon Translate for the translated text response. This is optional in the response and will only be present if you specified terminology input in the request. Currently, only one terminology can be applied per TranslateText request.
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.name: Option<String>The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.
terms: Option<Vec<Term>>The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.
Implementations§
source§impl AppliedTerminology
impl AppliedTerminology
source§impl AppliedTerminology
impl AppliedTerminology
sourcepub fn builder() -> AppliedTerminologyBuilder
pub fn builder() -> AppliedTerminologyBuilder
Creates a new builder-style object to manufacture AppliedTerminology.
Trait Implementations§
source§impl Clone for AppliedTerminology
impl Clone for AppliedTerminology
source§fn clone(&self) -> AppliedTerminology
fn clone(&self) -> AppliedTerminology
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 AppliedTerminology
impl Debug for AppliedTerminology
source§impl PartialEq<AppliedTerminology> for AppliedTerminology
impl PartialEq<AppliedTerminology> for AppliedTerminology
source§fn eq(&self, other: &AppliedTerminology) -> bool
fn eq(&self, other: &AppliedTerminology) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AppliedTerminology
Auto Trait Implementations§
impl RefUnwindSafe for AppliedTerminology
impl Send for AppliedTerminology
impl Sync for AppliedTerminology
impl Unpin for AppliedTerminology
impl UnwindSafe for AppliedTerminology
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