pub struct TranslationEntry {
pub msgid: String,
pub context: Option<String>,
pub translations: BTreeMap<String, String>,
}Expand description
One source message and its optional localized PO values.
Fields§
§msgid: String§context: Option<String>§translations: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for TranslationEntry
impl Clone for TranslationEntry
Source§impl Debug for TranslationEntry
impl Debug for TranslationEntry
Source§impl<'de> Deserialize<'de> for TranslationEntry
impl<'de> Deserialize<'de> for TranslationEntry
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 PartialEq for TranslationEntry
impl PartialEq for TranslationEntry
Source§impl Serialize for TranslationEntry
impl Serialize for TranslationEntry
impl StructuralPartialEq for TranslationEntry
Auto Trait Implementations§
impl Freeze for TranslationEntry
impl RefUnwindSafe for TranslationEntry
impl Send for TranslationEntry
impl Sync for TranslationEntry
impl Unpin for TranslationEntry
impl UnsafeUnpin for TranslationEntry
impl UnwindSafe for TranslationEntry
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