pub struct CatalogMachineTranslationReview {
pub current: usize,
pub stale: usize,
pub absent: usize,
pub invalid: usize,
pub details: Vec<CatalogMachineTranslationMessage>,
}Available on crate feature
catalog only.Expand description
Machine-translation metadata summary for one locale.
Fields§
§current: usizeActive target messages whose metadata hash matches the current translation.
stale: usizeActive target messages whose metadata hash no longer matches the translation.
absent: usizeActive target messages without machine-translation metadata.
invalid: usizeActive target messages with invalid metadata, when detectable.
details: Vec<CatalogMachineTranslationMessage>Optional per-message metadata detail rows.
Trait Implementations§
Source§impl Clone for CatalogMachineTranslationReview
impl Clone for CatalogMachineTranslationReview
Source§fn clone(&self) -> CatalogMachineTranslationReview
fn clone(&self) -> CatalogMachineTranslationReview
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 Default for CatalogMachineTranslationReview
impl Default for CatalogMachineTranslationReview
Source§fn default() -> CatalogMachineTranslationReview
fn default() -> CatalogMachineTranslationReview
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogMachineTranslationReview
impl<'de> Deserialize<'de> for CatalogMachineTranslationReview
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 CatalogMachineTranslationReview
Source§impl PartialEq for CatalogMachineTranslationReview
impl PartialEq for CatalogMachineTranslationReview
Source§fn eq(&self, other: &CatalogMachineTranslationReview) -> bool
fn eq(&self, other: &CatalogMachineTranslationReview) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatalogMachineTranslationReview
Auto Trait Implementations§
impl Freeze for CatalogMachineTranslationReview
impl RefUnwindSafe for CatalogMachineTranslationReview
impl Send for CatalogMachineTranslationReview
impl Sync for CatalogMachineTranslationReview
impl Unpin for CatalogMachineTranslationReview
impl UnsafeUnpin for CatalogMachineTranslationReview
impl UnwindSafe for CatalogMachineTranslationReview
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