pub struct TranslationData {
pub language: Language,
pub translations: HashMap<String, String>,
}Expand description
Translation data
Fields§
§language: Language§translations: HashMap<String, String>Implementations§
Trait Implementations§
Source§impl Clone for TranslationData
impl Clone for TranslationData
Source§fn clone(&self) -> TranslationData
fn clone(&self) -> TranslationData
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 TranslationData
impl Debug for TranslationData
Source§impl<'de> Deserialize<'de> for TranslationData
impl<'de> Deserialize<'de> for TranslationData
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
Auto Trait Implementations§
impl Freeze for TranslationData
impl RefUnwindSafe for TranslationData
impl Send for TranslationData
impl Sync for TranslationData
impl Unpin for TranslationData
impl UnwindSafe for TranslationData
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