Skip to main content

document_id

Function document_id 

Source
pub fn document_id(doc: &Value) -> Result<&str, EditFlowError>
Expand description

Read the id field from a DID document. Used to enforce the DID-id invariant after the operator edits the document.