pub struct AdaptiveMtTranslateResponse {
pub glossary_translations: Option<Vec<AdaptiveMtTranslation>>,
pub language_code: Option<String>,
pub translations: Option<Vec<AdaptiveMtTranslation>>,
}Expand description
An AdaptiveMtTranslate response.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations adaptive mt translate projects (response)
Fields§
§glossary_translations: Option<Vec<AdaptiveMtTranslation>>Text translation response if a glossary is provided in the request. This could be the same as ‘translation’ above if no terms apply.
language_code: Option<String>Output only. The translation’s language code.
translations: Option<Vec<AdaptiveMtTranslation>>Output only. The translation.
Trait Implementations§
Source§impl Clone for AdaptiveMtTranslateResponse
impl Clone for AdaptiveMtTranslateResponse
Source§fn clone(&self) -> AdaptiveMtTranslateResponse
fn clone(&self) -> AdaptiveMtTranslateResponse
Returns a duplicate 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 AdaptiveMtTranslateResponse
impl Debug for AdaptiveMtTranslateResponse
Source§impl Default for AdaptiveMtTranslateResponse
impl Default for AdaptiveMtTranslateResponse
Source§fn default() -> AdaptiveMtTranslateResponse
fn default() -> AdaptiveMtTranslateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdaptiveMtTranslateResponse
impl<'de> Deserialize<'de> for AdaptiveMtTranslateResponse
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
impl ResponseResult for AdaptiveMtTranslateResponse
Auto Trait Implementations§
impl Freeze for AdaptiveMtTranslateResponse
impl RefUnwindSafe for AdaptiveMtTranslateResponse
impl Send for AdaptiveMtTranslateResponse
impl Sync for AdaptiveMtTranslateResponse
impl Unpin for AdaptiveMtTranslateResponse
impl UnwindSafe for AdaptiveMtTranslateResponse
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