pub struct DIDResolutionMetadata {
pub error: Option<DIDResolutionError>,
pub content_type: Option<String>,
pub additional_properties: Option<HashMap<String, Value>>,
}Expand description
DID Resolution Metadata.
See <https://www.w3.org/TR/did-core/#did-resolution-metadata>
Fields§
§error: Option<DIDResolutionError>§content_type: Option<String>§additional_properties: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Clone for DIDResolutionMetadata
impl Clone for DIDResolutionMetadata
Source§fn clone(&self) -> DIDResolutionMetadata
fn clone(&self) -> DIDResolutionMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DIDResolutionMetadata
impl Debug for DIDResolutionMetadata
Source§impl Default for DIDResolutionMetadata
impl Default for DIDResolutionMetadata
Source§fn default() -> DIDResolutionMetadata
fn default() -> DIDResolutionMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DIDResolutionMetadata
impl<'de> Deserialize<'de> for DIDResolutionMetadata
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
Auto Trait Implementations§
impl Freeze for DIDResolutionMetadata
impl RefUnwindSafe for DIDResolutionMetadata
impl Send for DIDResolutionMetadata
impl Sync for DIDResolutionMetadata
impl Unpin for DIDResolutionMetadata
impl UnwindSafe for DIDResolutionMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more