#[non_exhaustive]pub struct CatalogAuditIcuOptions {
pub syntax_policy: IcuSyntaxPolicy,
}Available on crate feature
catalog only.Expand description
ICU-specific options used by catalog audit checks.
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.syntax_policy: IcuSyntaxPolicyICU parser behavior used by syntax and compatibility checks.
Implementations§
Source§impl CatalogAuditIcuOptions
impl CatalogAuditIcuOptions
Sourcepub fn new() -> CatalogAuditIcuOptions
pub fn new() -> CatalogAuditIcuOptions
Creates audit ICU options with default strict parser behavior.
Sourcepub fn with_syntax_policy(
self,
syntax_policy: IcuSyntaxPolicy,
) -> CatalogAuditIcuOptions
pub fn with_syntax_policy( self, syntax_policy: IcuSyntaxPolicy, ) -> CatalogAuditIcuOptions
Returns options that parse messages with the given ICU syntax policy.
Trait Implementations§
Source§impl Clone for CatalogAuditIcuOptions
impl Clone for CatalogAuditIcuOptions
Source§fn clone(&self) -> CatalogAuditIcuOptions
fn clone(&self) -> CatalogAuditIcuOptions
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 CatalogAuditIcuOptions
Source§impl Debug for CatalogAuditIcuOptions
impl Debug for CatalogAuditIcuOptions
Source§impl Default for CatalogAuditIcuOptions
impl Default for CatalogAuditIcuOptions
Source§fn default() -> CatalogAuditIcuOptions
fn default() -> CatalogAuditIcuOptions
Returns the “default value” for a type. Read more
impl Eq for CatalogAuditIcuOptions
Source§impl PartialEq for CatalogAuditIcuOptions
impl PartialEq for CatalogAuditIcuOptions
impl StructuralPartialEq for CatalogAuditIcuOptions
Auto Trait Implementations§
impl Freeze for CatalogAuditIcuOptions
impl RefUnwindSafe for CatalogAuditIcuOptions
impl Send for CatalogAuditIcuOptions
impl Sync for CatalogAuditIcuOptions
impl Unpin for CatalogAuditIcuOptions
impl UnsafeUnpin for CatalogAuditIcuOptions
impl UnwindSafe for CatalogAuditIcuOptions
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