pub struct CompiledCatalogResolution {
pub key: String,
pub source_key: CatalogMessageKey,
pub resolved_locale: Option<String>,
pub kind: CompiledCatalogResolutionKind,
}Available on crate feature
catalog only.Expand description
Provenance row for one compiled runtime message identity.
Fields§
§key: StringStable runtime key derived from the source identity.
source_key: CatalogMessageKeyOriginal gettext identity preserved for diagnostics and tooling.
resolved_locale: Option<String>Locale that ultimately provided the runtime value, if any.
kind: CompiledCatalogResolutionKindResolution category for this message.
Trait Implementations§
Source§impl Clone for CompiledCatalogResolution
impl Clone for CompiledCatalogResolution
Source§fn clone(&self) -> CompiledCatalogResolution
fn clone(&self) -> CompiledCatalogResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompiledCatalogResolution
impl Debug for CompiledCatalogResolution
Source§impl<'de> Deserialize<'de> for CompiledCatalogResolution
impl<'de> Deserialize<'de> for CompiledCatalogResolution
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 CompiledCatalogResolution
Source§impl PartialEq for CompiledCatalogResolution
impl PartialEq for CompiledCatalogResolution
Source§fn eq(&self, other: &CompiledCatalogResolution) -> bool
fn eq(&self, other: &CompiledCatalogResolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompiledCatalogResolution
Auto Trait Implementations§
impl Freeze for CompiledCatalogResolution
impl RefUnwindSafe for CompiledCatalogResolution
impl Send for CompiledCatalogResolution
impl Sync for CompiledCatalogResolution
impl Unpin for CompiledCatalogResolution
impl UnsafeUnpin for CompiledCatalogResolution
impl UnwindSafe for CompiledCatalogResolution
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