pub struct CompiledCatalogIdDescription {
pub compiled_id: String,
pub source_key: CatalogMessageKey,
pub available_locales: Vec<String>,
pub translation_kind: CompiledCatalogTranslationKind,
}Expand description
Metadata describing one compiled runtime ID for a specific catalog set.
Fields§
§compiled_id: StringStable runtime ID derived from the source identity.
source_key: CatalogMessageKeyOriginal gettext identity preserved for diagnostics and tooling.
available_locales: Vec<String>Locales from the provided catalog set that contain this non-obsolete message.
translation_kind: CompiledCatalogTranslationKindWhether the message is singular or plural in the provided catalog set.
Trait Implementations§
Source§impl Clone for CompiledCatalogIdDescription
impl Clone for CompiledCatalogIdDescription
Source§fn clone(&self) -> CompiledCatalogIdDescription
fn clone(&self) -> CompiledCatalogIdDescription
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 CompiledCatalogIdDescription
impl Debug for CompiledCatalogIdDescription
Source§impl<'de> Deserialize<'de> for CompiledCatalogIdDescription
impl<'de> Deserialize<'de> for CompiledCatalogIdDescription
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CompiledCatalogIdDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CompiledCatalogIdDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CompiledCatalogIdDescription
Source§impl PartialEq for CompiledCatalogIdDescription
impl PartialEq for CompiledCatalogIdDescription
Source§fn eq(&self, other: &CompiledCatalogIdDescription) -> bool
fn eq(&self, other: &CompiledCatalogIdDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompiledCatalogIdDescription
impl Serialize for CompiledCatalogIdDescription
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 CompiledCatalogIdDescription
Auto Trait Implementations§
impl Freeze for CompiledCatalogIdDescription
impl RefUnwindSafe for CompiledCatalogIdDescription
impl Send for CompiledCatalogIdDescription
impl Sync for CompiledCatalogIdDescription
impl Unpin for CompiledCatalogIdDescription
impl UnsafeUnpin for CompiledCatalogIdDescription
impl UnwindSafe for CompiledCatalogIdDescription
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