#[non_exhaustive]pub struct InvoiceMetadata {
pub namespace: String,
pub document_type: Option<String>,
pub document_file_name: Option<String>,
pub version: Option<String>,
pub conformance_level: Option<String>,
}Expand description
The Factur-X / ZUGFeRD / Order-X extension schema properties of the XMP metadata.
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.namespace: StringThe namespace of the properties, such as
urn:factur-x:pdfa:CrossIndustryDocument:invoice:1p0# (any
urn:<scheme>:pdfa:CrossIndustryDocument:… namespace is recognised).
document_type: Option<String>DocumentType, such as INVOICE or ORDER.
document_file_name: Option<String>DocumentFileName, such as factur-x.xml.
version: Option<String>Version, such as 1.0.
conformance_level: Option<String>ConformanceLevel, the profile, such as EN 16931.
Trait Implementations§
Source§impl Clone for InvoiceMetadata
impl Clone for InvoiceMetadata
Source§impl Debug for InvoiceMetadata
impl Debug for InvoiceMetadata
impl Eq for InvoiceMetadata
Source§impl PartialEq for InvoiceMetadata
impl PartialEq for InvoiceMetadata
impl StructuralPartialEq for InvoiceMetadata
Auto Trait Implementations§
impl Forget for InvoiceMetadata
impl Freeze for InvoiceMetadata
impl RefUnwindSafe for InvoiceMetadata
impl Send for InvoiceMetadata
impl Sync for InvoiceMetadata
impl Unpin for InvoiceMetadata
impl UnsafeUnpin for InvoiceMetadata
impl UnwindSafe for InvoiceMetadata
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