pub enum TranslationSource {
ConfigStanza {
name: String,
},
ExternalFile {
path: PathBuf,
name: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for TranslationSource
impl Clone for TranslationSource
Source§impl Debug for TranslationSource
impl Debug for TranslationSource
Source§impl<'de> Deserialize<'de> for TranslationSource
impl<'de> Deserialize<'de> for TranslationSource
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 TranslationSource
Source§impl PartialEq for TranslationSource
impl PartialEq for TranslationSource
Source§impl Serialize for TranslationSource
impl Serialize for TranslationSource
impl StructuralPartialEq for TranslationSource
Auto Trait Implementations§
impl Forget for TranslationSource
impl Freeze for TranslationSource
impl Move for TranslationSource
impl RefUnwindSafe for TranslationSource
impl Send for TranslationSource
impl Sync for TranslationSource
impl Unpin for TranslationSource
impl UnsafeUnpin for TranslationSource
impl UnwindSafe for TranslationSource
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