pub struct ZugferdMeta {
pub conformance_level: String,
pub document_file_name: Option<String>,
pub version: Option<String>,
pub document_type: Option<String>,
}Expand description
Factur-X / ZUGFeRD XMP identification (the fx: extension schema).
Container-level metadata only — names the attached XML and its profile. The engine does not read or validate the XML itself.
Fields§
§conformance_level: StringProfile name as it appears in XMP fx:ConformanceLevel:
MINIMUM, BASIC WL, BASIC, EN 16931, EXTENDED, or
XRECHNUNG (spaces included — Mustang validates these exact
spellings).
document_file_name: Option<String>XMP fx:DocumentFileName; must match an attachment’s name.
Defaults to factur-x.xml (xrechnung.xml for XRECHNUNG).
version: Option<String>XMP fx:Version — the Factur-X schema version, default 1.0.
document_type: Option<String>XMP fx:DocumentType, default INVOICE.
Trait Implementations§
Source§impl Clone for ZugferdMeta
impl Clone for ZugferdMeta
Source§impl Debug for ZugferdMeta
impl Debug for ZugferdMeta
Source§impl<'de> Deserialize<'de> for ZugferdMeta
impl<'de> Deserialize<'de> for ZugferdMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ZugferdMeta
impl RefUnwindSafe for ZugferdMeta
impl Send for ZugferdMeta
impl Sync for ZugferdMeta
impl Unpin for ZugferdMeta
impl UnsafeUnpin for ZugferdMeta
impl UnwindSafe for ZugferdMeta
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