pub struct CompiledCatalogMissingMessage {
pub key: String,
pub source_key: CatalogMessageKey,
pub requested_locale: String,
pub resolved_locale: Option<String>,
}Available on crate feature
catalog only.Expand description
Missing-message record emitted by super::compile_catalog_artifact.
Fields§
§key: StringStable runtime key derived from the source identity.
source_key: CatalogMessageKeyOriginal gettext identity preserved for diagnostics and tooling.
requested_locale: StringRequested locale for this artifact compilation.
resolved_locale: Option<String>Locale that ultimately provided the runtime value, if any.
Trait Implementations§
Source§impl Clone for CompiledCatalogMissingMessage
impl Clone for CompiledCatalogMissingMessage
Source§fn clone(&self) -> CompiledCatalogMissingMessage
fn clone(&self) -> CompiledCatalogMissingMessage
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<'de> Deserialize<'de> for CompiledCatalogMissingMessage
impl<'de> Deserialize<'de> for CompiledCatalogMissingMessage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CompiledCatalogMissingMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CompiledCatalogMissingMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CompiledCatalogMissingMessage
Source§impl PartialEq for CompiledCatalogMissingMessage
impl PartialEq for CompiledCatalogMissingMessage
Source§fn eq(&self, other: &CompiledCatalogMissingMessage) -> bool
fn eq(&self, other: &CompiledCatalogMissingMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompiledCatalogMissingMessage
impl Serialize for CompiledCatalogMissingMessage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CompiledCatalogMissingMessage
Auto Trait Implementations§
impl Freeze for CompiledCatalogMissingMessage
impl RefUnwindSafe for CompiledCatalogMissingMessage
impl Send for CompiledCatalogMissingMessage
impl Sync for CompiledCatalogMissingMessage
impl Unpin for CompiledCatalogMissingMessage
impl UnsafeUnpin for CompiledCatalogMissingMessage
impl UnwindSafe for CompiledCatalogMissingMessage
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