pub enum TranslationPreference {
Prefer,
Yes,
No,
}
Variants§
Prefer
This translator prefers translating the variable, so it will be selected as the default translator for the variable
Yes
This translator is able to translate the variable, but will not be selected by default, the user has to select it
No
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TranslationPreference
impl<'de> Deserialize<'de> for TranslationPreference
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 FromBytesOwned for TranslationPreferencewhere
Json<Self>: FromBytesOwned,
impl FromBytesOwned for TranslationPreferencewhere
Json<Self>: FromBytesOwned,
Source§impl PartialEq for TranslationPreference
impl PartialEq for TranslationPreference
Source§impl Serialize for TranslationPreference
impl Serialize for TranslationPreference
Source§impl<'__to_bytes_a> ToBytes<'__to_bytes_a> for TranslationPreference
impl<'__to_bytes_a> ToBytes<'__to_bytes_a> for TranslationPreference
impl StructuralPartialEq for TranslationPreference
Auto Trait Implementations§
impl Freeze for TranslationPreference
impl RefUnwindSafe for TranslationPreference
impl Send for TranslationPreference
impl Sync for TranslationPreference
impl Unpin for TranslationPreference
impl UnwindSafe for TranslationPreference
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