pub enum TranslationProfile {
Safe,
Balanced,
Fastest,
FreeTier,
TurboTextOnly,
V1Fast,
}Variants§
Implementations§
Source§impl TranslationProfile
impl TranslationProfile
pub fn namespace_str(self) -> &'static str
pub fn resolve(self) -> ResolvedRunSettings
Trait Implementations§
Source§impl Clone for TranslationProfile
impl Clone for TranslationProfile
Source§fn clone(&self) -> TranslationProfile
fn clone(&self) -> TranslationProfile
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 moreimpl Copy for TranslationProfile
Source§impl Debug for TranslationProfile
impl Debug for TranslationProfile
Source§impl<'de> Deserialize<'de> for TranslationProfile
impl<'de> Deserialize<'de> for TranslationProfile
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 Eq for TranslationProfile
Source§impl PartialEq for TranslationProfile
impl PartialEq for TranslationProfile
Source§fn eq(&self, other: &TranslationProfile) -> bool
fn eq(&self, other: &TranslationProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TranslationProfile
impl Serialize for TranslationProfile
impl StructuralPartialEq for TranslationProfile
Auto Trait Implementations§
impl Freeze for TranslationProfile
impl RefUnwindSafe for TranslationProfile
impl Send for TranslationProfile
impl Sync for TranslationProfile
impl Unpin for TranslationProfile
impl UnsafeUnpin for TranslationProfile
impl UnwindSafe for TranslationProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.