dpp-domain 0.13.0

EU Digital Product Passport domain types, port traits, and open-core boundary
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Sector access policy — the per-field disclosure contract and the filter that
//! applies it.
//!
//! Which fields a role may see describes what a passport *is*: the classes are
//! declared as data in the sector manifests, and the contract is part of what
//! the standard promises third parties.
//!
//! Distinct from `dpp-vc`, which establishes *which* audience a caller holds. A
//! credential proves the role; this maps the role to fields.

pub mod filter;
pub mod policy;
#[cfg(test)]
mod tests;

pub use filter::{PolicyDecision, filter_by_audience};
pub use policy::SectorAccessPolicy;