pub struct TranslateData {
pub account_id: String,
pub region: String,
pub terminologies: BTreeMap<String, Value>,
pub parallel_data: BTreeMap<String, Value>,
pub text_translation_jobs: BTreeMap<String, Value>,
pub tags: BTreeMap<String, BTreeMap<String, String>>,
}Expand description
Per-account Amazon Translate state.
Fields§
§account_id: StringThe account id this partition belongs to (for ARN synthesis).
region: StringThe region this partition belongs to (for ARN synthesis).
terminologies: BTreeMap<String, Value>Custom terminologies keyed by Name; stores TerminologyProperties.
parallel_data: BTreeMap<String, Value>Parallel data keyed by Name; stores ParallelDataProperties.
text_translation_jobs: BTreeMap<String, Value>Batch text-translation jobs keyed by JobId; stores
TextTranslationJobProperties.
Resource tags keyed by resource ARN.
Implementations§
Trait Implementations§
Source§impl AccountState for TranslateData
impl AccountState for TranslateData
Source§fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
Create a fresh, empty state for the given account.
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
Called after a new account state is created via
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for TranslateData
impl Clone for TranslateData
Source§fn clone(&self) -> TranslateData
fn clone(&self) -> TranslateData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TranslateData
impl Debug for TranslateData
Source§impl Default for TranslateData
impl Default for TranslateData
Source§fn default() -> TranslateData
fn default() -> TranslateData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TranslateData
impl<'de> Deserialize<'de> for TranslateData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TranslateData
impl RefUnwindSafe for TranslateData
impl Send for TranslateData
impl Sync for TranslateData
impl Unpin for TranslateData
impl UnsafeUnpin for TranslateData
impl UnwindSafe for TranslateData
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