#[non_exhaustive]pub struct GetTerminologyInput {
pub name: Option<String>,
pub terminology_data_format: Option<TerminologyDataFormat>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
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 being retrieved.
terminology_data_format: Option<TerminologyDataFormat>The data format of the custom terminology being retrieved.
If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology.
If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
Implementations§
source§impl GetTerminologyInput
impl GetTerminologyInput
sourcepub fn terminology_data_format(&self) -> Option<&TerminologyDataFormat>
pub fn terminology_data_format(&self) -> Option<&TerminologyDataFormat>
The data format of the custom terminology being retrieved.
If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology.
If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
source§impl GetTerminologyInput
impl GetTerminologyInput
sourcepub fn builder() -> GetTerminologyInputBuilder
pub fn builder() -> GetTerminologyInputBuilder
Creates a new builder-style object to manufacture GetTerminologyInput.
Trait Implementations§
source§impl Clone for GetTerminologyInput
impl Clone for GetTerminologyInput
source§fn clone(&self) -> GetTerminologyInput
fn clone(&self) -> GetTerminologyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetTerminologyInput
impl Debug for GetTerminologyInput
source§impl PartialEq for GetTerminologyInput
impl PartialEq for GetTerminologyInput
source§fn eq(&self, other: &GetTerminologyInput) -> bool
fn eq(&self, other: &GetTerminologyInput) -> bool
self and other values to be equal, and is used
by ==.