dpp-domain 0.21.0

EU Digital Product Passport domain types, port traits, and per-field disclosure policy
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! The unique product identifier, across the EN 18219 clause 5 schemes.
//!
//! One type per scheme would leave every caller matching on which one it holds.
//! One enum leaves the choice where the standard puts it — clause 5.1 says an
//! identifier complies with *one of* the schemes, and they are alternatives.

mod error;
mod scheme;
#[cfg(test)]
mod tests;

pub use error::ProductIdentifierError;
pub use scheme::ProductIdentifier;