Enum ssi_dids::did_resolve::Metadata
source · pub enum Metadata {
String(String),
Map(HashMap<String, Metadata>),
List(Vec<Metadata>),
Boolean(bool),
Null,
}
Expand description
Metadata structure “for DID resolution, DID URL dereferencing, and other DID-related processes”
Variants§
String(String)
Map(HashMap<String, Metadata>)
A map of properties for a metadata structure.
List(Vec<Metadata>)
List (array)
Boolean(bool)
Null
Trait Implementations§
source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more