pub struct TranslationOptions {
pub source_lang: String,
pub target_lang: String,
pub terms: Option<Vec<Term>>,
}
Fields§
§source_lang: String
§target_lang: String
§terms: Option<Vec<Term>>
Trait Implementations§
Source§impl Clone for TranslationOptions
impl Clone for TranslationOptions
Source§fn clone(&self) -> TranslationOptions
fn clone(&self) -> TranslationOptions
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 TranslationOptions
impl Debug for TranslationOptions
Source§impl<'de> Deserialize<'de> for TranslationOptions
impl<'de> Deserialize<'de> for TranslationOptions
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 TranslationOptions
impl PartialEq for TranslationOptions
Source§impl Serialize for TranslationOptions
impl Serialize for TranslationOptions
impl StructuralPartialEq for TranslationOptions
Auto Trait Implementations§
impl Freeze for TranslationOptions
impl RefUnwindSafe for TranslationOptions
impl Send for TranslationOptions
impl Sync for TranslationOptions
impl Unpin for TranslationOptions
impl UnwindSafe for TranslationOptions
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