pub struct StylesheetEntry { /* private fields */ }Expand description
One stylesheet of a rule set, as its manifest describes it.
Implementations§
Source§impl StylesheetEntry
impl StylesheetEntry
Sourcepub fn version(&self) -> &str
pub fn version(&self) -> &str
The version of the rule set it implements: the manifest’s version of the
stylesheet, else the version of the bundle.
Sourcepub const fn unflagged_assert(&self) -> Severity
pub const fn unflagged_assert(&self) -> Severity
The severity of its failed asserts that have no flag (format 2,
unflagged-assert): Severity::Other unless the manifest says otherwise. The
rule sets whose reference validators reject a document for an unflagged failed
assert (Factur-X, XRechnung) say Severity::Fatal.
Trait Implementations§
Source§impl Clone for StylesheetEntry
impl Clone for StylesheetEntry
Source§impl Debug for StylesheetEntry
impl Debug for StylesheetEntry
impl Eq for StylesheetEntry
Source§impl PartialEq for StylesheetEntry
impl PartialEq for StylesheetEntry
impl StructuralPartialEq for StylesheetEntry
Auto Trait Implementations§
impl Forget for StylesheetEntry
impl Freeze for StylesheetEntry
impl RefUnwindSafe for StylesheetEntry
impl Send for StylesheetEntry
impl Sync for StylesheetEntry
impl Unpin for StylesheetEntry
impl UnsafeUnpin for StylesheetEntry
impl UnwindSafe for StylesheetEntry
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