pub struct TransliterationConfig {
pub enable_transliteration: Option<bool>,
}Expand description
Configures transliteration feature on top of translation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable_transliteration: Option<bool>If true, source text in romanized form can be translated to the target language.
Trait Implementations§
Source§impl Clone for TransliterationConfig
impl Clone for TransliterationConfig
Source§fn clone(&self) -> TransliterationConfig
fn clone(&self) -> TransliterationConfig
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 TransliterationConfig
impl Debug for TransliterationConfig
Source§impl Default for TransliterationConfig
impl Default for TransliterationConfig
Source§fn default() -> TransliterationConfig
fn default() -> TransliterationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransliterationConfig
impl<'de> Deserialize<'de> for TransliterationConfig
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 Serialize for TransliterationConfig
impl Serialize for TransliterationConfig
impl Part for TransliterationConfig
Auto Trait Implementations§
impl Freeze for TransliterationConfig
impl RefUnwindSafe for TransliterationConfig
impl Send for TransliterationConfig
impl Sync for TransliterationConfig
impl Unpin for TransliterationConfig
impl UnwindSafe for TransliterationConfig
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