Module ssi_dids_core::document::representation
source · Expand description
DID Document representations.
A “representation” is a concrete serialization of a DID document. Multiple representations are defined by the DID specification, such as JSON and JSON-LD. In practice, any representation can be used, such as XML or YAML, as long as it is capable of expressing the data model of DID documents.
A simple serialization (e.g. with serde
) is not possible for all
representations, as some of them, such as JSON-LD, require serializing
representation-specific properties that are outside the core data model
(for instance the @context
property of a JSON-LD document).
Re-exports§
Modules§
Structs§
Enums§
- DID document representation media type.
- Representation configuration.
- DID document in a specific representation.