pub struct PostTranslateText200Response {
pub source_lang: Option<String>,
pub translated_text: Option<String>,
}Fields§
§source_lang: Option<String>The source language detected.
translated_text: Option<String>The translated text.
Implementations§
Source§impl PostTranslateText200Response
impl PostTranslateText200Response
pub fn new() -> PostTranslateText200Response
Trait Implementations§
Source§impl Clone for PostTranslateText200Response
impl Clone for PostTranslateText200Response
Source§fn clone(&self) -> PostTranslateText200Response
fn clone(&self) -> PostTranslateText200Response
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 PostTranslateText200Response
impl Debug for PostTranslateText200Response
Source§impl Default for PostTranslateText200Response
impl Default for PostTranslateText200Response
Source§fn default() -> PostTranslateText200Response
fn default() -> PostTranslateText200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostTranslateText200Response
impl<'de> Deserialize<'de> for PostTranslateText200Response
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
Source§impl PartialEq for PostTranslateText200Response
impl PartialEq for PostTranslateText200Response
Source§fn eq(&self, other: &PostTranslateText200Response) -> bool
fn eq(&self, other: &PostTranslateText200Response) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostTranslateText200Response
Auto Trait Implementations§
impl Freeze for PostTranslateText200Response
impl RefUnwindSafe for PostTranslateText200Response
impl Send for PostTranslateText200Response
impl Sync for PostTranslateText200Response
impl Unpin for PostTranslateText200Response
impl UnwindSafe for PostTranslateText200Response
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