#[non_exhaustive]pub enum CatalogMessageStatus {
Translated,
Missing,
Empty,
Obsolete,
Extra,
}Available on crate feature
catalog only.Expand description
Canonical catalog message status used by coverage and review reports.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Translated
Active target message exists and has a non-empty translation.
Missing
No active or obsolete target entry exists for the active source identity.
Empty
Active target entry exists, but its effective translation is empty.
Obsolete
Target entry exists for the active source identity, but is obsolete.
Extra
Active target entry is not present in the active source identity set.
Trait Implementations§
Source§impl Clone for CatalogMessageStatus
impl Clone for CatalogMessageStatus
Source§fn clone(&self) -> CatalogMessageStatus
fn clone(&self) -> CatalogMessageStatus
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 moreimpl Copy for CatalogMessageStatus
Source§impl Debug for CatalogMessageStatus
impl Debug for CatalogMessageStatus
Source§impl<'de> Deserialize<'de> for CatalogMessageStatus
impl<'de> Deserialize<'de> for CatalogMessageStatus
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 CatalogMessageStatus
Source§impl Hash for CatalogMessageStatus
impl Hash for CatalogMessageStatus
Source§impl Ord for CatalogMessageStatus
impl Ord for CatalogMessageStatus
Source§fn cmp(&self, other: &CatalogMessageStatus) -> Ordering
fn cmp(&self, other: &CatalogMessageStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CatalogMessageStatus
impl PartialEq for CatalogMessageStatus
Source§fn eq(&self, other: &CatalogMessageStatus) -> bool
fn eq(&self, other: &CatalogMessageStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CatalogMessageStatus
impl PartialOrd for CatalogMessageStatus
Source§impl Serialize for CatalogMessageStatus
impl Serialize for CatalogMessageStatus
impl StructuralPartialEq for CatalogMessageStatus
Auto Trait Implementations§
impl Freeze for CatalogMessageStatus
impl RefUnwindSafe for CatalogMessageStatus
impl Send for CatalogMessageStatus
impl Sync for CatalogMessageStatus
impl Unpin for CatalogMessageStatus
impl UnsafeUnpin for CatalogMessageStatus
impl UnwindSafe for CatalogMessageStatus
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