#[non_exhaustive]pub enum SchemaId {
Ubl21,
CiiD16b,
Bundle(String),
}Expand description
The XML schema a rule set validates documents against before running its stylesheets.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ubl21
The OASIS UBL 2.1 schemas for Invoice and CreditNote, embedded in
einvoice_xsd.
CiiD16b
The UN/CEFACT Cross Industry Invoice D16B schemas (uncoupled code lists),
embedded in einvoice_xsd.
Bundle(String)
The XML schema documents of the bundle (format 2, [[schema-document]],
RuleSet::schema_documents), loaded with einvoice_xsd from the entry point
at this path in the bundle: a schema that comes with the publisher’s files rather
than with this crate (the profile schemas of Factur-X).
Implementations§
Trait Implementations§
impl Eq for SchemaId
impl StructuralPartialEq for SchemaId
Auto Trait Implementations§
impl Forget for SchemaId
impl Freeze for SchemaId
impl RefUnwindSafe for SchemaId
impl Send for SchemaId
impl Sync for SchemaId
impl Unpin for SchemaId
impl UnsafeUnpin for SchemaId
impl UnwindSafe for SchemaId
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