pub struct CompiledMessage {
pub key: String,
pub source_key: CatalogMessageKey,
pub translation: CompiledTranslation,
}Expand description
A compiled runtime message keyed by a derived lookup key.
Fields§
§key: StringStable runtime key derived from the source identity.
source_key: CatalogMessageKeyOriginal gettext identity preserved for diagnostics and tooling.
translation: CompiledTranslationMaterialized translation payload for runtime lookup.
Trait Implementations§
Source§impl Clone for CompiledMessage
impl Clone for CompiledMessage
Source§fn clone(&self) -> CompiledMessage
fn clone(&self) -> CompiledMessage
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 CompiledMessage
impl Debug for CompiledMessage
Source§impl PartialEq for CompiledMessage
impl PartialEq for CompiledMessage
impl Eq for CompiledMessage
impl StructuralPartialEq for CompiledMessage
Auto Trait Implementations§
impl Freeze for CompiledMessage
impl RefUnwindSafe for CompiledMessage
impl Send for CompiledMessage
impl Sync for CompiledMessage
impl Unpin for CompiledMessage
impl UnsafeUnpin for CompiledMessage
impl UnwindSafe for CompiledMessage
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