Skip to main content

did_of

Function did_of 

Source
pub fn did_of(did_url: &str) -> Option<&str>
Expand description

The DID a DID URL is under: did:method:id, without path, query or fragment. None when it is not a DID URL.