#[non_exhaustive]pub struct RuleSetVersion {
pub name: String,
pub title: String,
pub version: String,
pub schema: Option<SchemaId>,
pub unchecked_schema: Option<String>,
}Expand description
The rule set a report was produced with.
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.name: StringIts short name (cen-ubl).
title: StringIts title.
version: StringIts version (1.3.17).
schema: Option<SchemaId>The schema the document was validated against, if any.
unchecked_schema: Option<String>The XML schema the reference validator of the rule set also validates documents
against, and this rule set does not, as its manifest names it
(RuleSet::unchecked_schema): a document valid
here may still be rejected there for an error of that schema.
Trait Implementations§
Source§impl Clone for RuleSetVersion
impl Clone for RuleSetVersion
Source§impl Debug for RuleSetVersion
impl Debug for RuleSetVersion
impl Eq for RuleSetVersion
Source§impl PartialEq for RuleSetVersion
impl PartialEq for RuleSetVersion
impl StructuralPartialEq for RuleSetVersion
Auto Trait Implementations§
impl Forget for RuleSetVersion
impl Freeze for RuleSetVersion
impl RefUnwindSafe for RuleSetVersion
impl Send for RuleSetVersion
impl Sync for RuleSetVersion
impl Unpin for RuleSetVersion
impl UnsafeUnpin for RuleSetVersion
impl UnwindSafe for RuleSetVersion
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