#[non_exhaustive]pub enum CatalogMachineTranslationStatus {
Current,
Stale,
Absent,
Invalid,
}Available on crate feature
catalog only.Expand description
Machine-translation metadata freshness status.
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.
Current
Metadata hash matches the current effective translation.
Stale
Metadata hash does not match the current effective translation.
Absent
No machine-translation metadata is present.
Invalid
Metadata is invalid in a way the parsed catalog representation can expose.
Trait Implementations§
Source§impl Clone for CatalogMachineTranslationStatus
impl Clone for CatalogMachineTranslationStatus
Source§fn clone(&self) -> CatalogMachineTranslationStatus
fn clone(&self) -> CatalogMachineTranslationStatus
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 CatalogMachineTranslationStatus
Source§impl<'de> Deserialize<'de> for CatalogMachineTranslationStatus
impl<'de> Deserialize<'de> for CatalogMachineTranslationStatus
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 CatalogMachineTranslationStatus
Source§impl PartialEq for CatalogMachineTranslationStatus
impl PartialEq for CatalogMachineTranslationStatus
Source§fn eq(&self, other: &CatalogMachineTranslationStatus) -> bool
fn eq(&self, other: &CatalogMachineTranslationStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatalogMachineTranslationStatus
Auto Trait Implementations§
impl Freeze for CatalogMachineTranslationStatus
impl RefUnwindSafe for CatalogMachineTranslationStatus
impl Send for CatalogMachineTranslationStatus
impl Sync for CatalogMachineTranslationStatus
impl Unpin for CatalogMachineTranslationStatus
impl UnsafeUnpin for CatalogMachineTranslationStatus
impl UnwindSafe for CatalogMachineTranslationStatus
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