pub enum LanguageRelation {
Original,
TranslatedFrom,
TranslatedInto,
}
Variants§
Trait Implementations§
Source§impl Clone for LanguageRelation
impl Clone for LanguageRelation
Source§fn clone(&self) -> LanguageRelation
fn clone(&self) -> LanguageRelation
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 LanguageRelation
impl Debug for LanguageRelation
Source§impl Default for LanguageRelation
impl Default for LanguageRelation
Source§fn default() -> LanguageRelation
fn default() -> LanguageRelation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LanguageRelation
impl<'de> Deserialize<'de> for LanguageRelation
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 Display for LanguageRelation
impl Display for LanguageRelation
Source§impl FromStr for LanguageRelation
impl FromStr for LanguageRelation
Source§type Err = ThothError
type Err = ThothError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<LanguageRelation, ThothError>
fn from_str(input: &str) -> Result<LanguageRelation, ThothError>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for LanguageRelation
impl PartialEq for LanguageRelation
Source§impl Serialize for LanguageRelation
impl Serialize for LanguageRelation
impl StructuralPartialEq for LanguageRelation
Auto Trait Implementations§
impl Freeze for LanguageRelation
impl RefUnwindSafe for LanguageRelation
impl Send for LanguageRelation
impl Sync for LanguageRelation
impl Unpin for LanguageRelation
impl UnwindSafe for LanguageRelation
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