pub struct CompiledCatalogDiagnostic {
pub severity: DiagnosticSeverity,
pub code: String,
pub message: String,
pub key: String,
pub msgid: String,
pub msgctxt: Option<String>,
pub locale: String,
}Expand description
Diagnostic emitted by super::compile_catalog_artifact.
Fields§
§severity: DiagnosticSeveritySeverity for the collected diagnostic.
code: StringStable machine-readable diagnostic code.
message: StringHuman-readable explanation of the problem.
key: StringStable runtime key derived from the source identity.
msgid: StringSource msgid associated with the diagnostic.
msgctxt: Option<String>Source msgctxt associated with the diagnostic.
locale: StringLocale whose final runtime message produced the diagnostic.
Trait Implementations§
Source§impl Clone for CompiledCatalogDiagnostic
impl Clone for CompiledCatalogDiagnostic
Source§fn clone(&self) -> CompiledCatalogDiagnostic
fn clone(&self) -> CompiledCatalogDiagnostic
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 CompiledCatalogDiagnostic
impl Debug for CompiledCatalogDiagnostic
impl Eq for CompiledCatalogDiagnostic
impl StructuralPartialEq for CompiledCatalogDiagnostic
Auto Trait Implementations§
impl Freeze for CompiledCatalogDiagnostic
impl RefUnwindSafe for CompiledCatalogDiagnostic
impl Send for CompiledCatalogDiagnostic
impl Sync for CompiledCatalogDiagnostic
impl Unpin for CompiledCatalogDiagnostic
impl UnsafeUnpin for CompiledCatalogDiagnostic
impl UnwindSafe for CompiledCatalogDiagnostic
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