#[non_exhaustive]pub struct CatalogCoverageOptions<'a> {
pub source_locale: &'a str,
pub locales: &'a [&'a str],
pub include_details: bool,
}Available on crate feature
catalog only.Expand description
Options controlling catalog coverage reports.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source_locale: &'a strSource locale whose active message identities define expected coverage.
locales: &'a [&'a str]Optional target locale filter. Empty means all non-source locales present in catalogs.
include_details: boolWhether the report should include one detail row per classified message.
Implementations§
Source§impl<'a> CatalogCoverageOptions<'a>
impl<'a> CatalogCoverageOptions<'a>
Trait Implementations§
Source§impl<'a> Clone for CatalogCoverageOptions<'a>
impl<'a> Clone for CatalogCoverageOptions<'a>
Source§fn clone(&self) -> CatalogCoverageOptions<'a>
fn clone(&self) -> CatalogCoverageOptions<'a>
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<'a> Debug for CatalogCoverageOptions<'a>
impl<'a> Debug for CatalogCoverageOptions<'a>
Source§impl<'a> Default for CatalogCoverageOptions<'a>
impl<'a> Default for CatalogCoverageOptions<'a>
Source§fn default() -> CatalogCoverageOptions<'a>
fn default() -> CatalogCoverageOptions<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for CatalogCoverageOptions<'a>
Source§impl<'a> PartialEq for CatalogCoverageOptions<'a>
impl<'a> PartialEq for CatalogCoverageOptions<'a>
Source§fn eq(&self, other: &CatalogCoverageOptions<'a>) -> bool
fn eq(&self, other: &CatalogCoverageOptions<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for CatalogCoverageOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for CatalogCoverageOptions<'a>
impl<'a> RefUnwindSafe for CatalogCoverageOptions<'a>
impl<'a> Send for CatalogCoverageOptions<'a>
impl<'a> Sync for CatalogCoverageOptions<'a>
impl<'a> Unpin for CatalogCoverageOptions<'a>
impl<'a> UnsafeUnpin for CatalogCoverageOptions<'a>
impl<'a> UnwindSafe for CatalogCoverageOptions<'a>
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