pub struct DIDDocumentMetadata {
pub created: Option<DateTime<Utc>>,
pub updated: Option<DateTime<Utc>>,
pub deactivated: Option<bool>,
pub next_update: Option<DateTime<Utc>>,
pub version_id: Option<String>,
pub next_version_id: Option<String>,
pub equivalent_id: Vec<String>,
pub canonical_id: Option<String>,
pub additional_properties: Option<HashMap<String, Value>>,
}Expand description
DID Document Metadata.
See <https://www.w3.org/TR/did-core/#did-document-metadata>
Fields§
§created: Option<DateTime<Utc>>§updated: Option<DateTime<Utc>>§deactivated: Option<bool>§next_update: Option<DateTime<Utc>>§version_id: Option<String>§next_version_id: Option<String>§equivalent_id: Vec<String>§canonical_id: Option<String>§additional_properties: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Clone for DIDDocumentMetadata
impl Clone for DIDDocumentMetadata
Source§fn clone(&self) -> DIDDocumentMetadata
fn clone(&self) -> DIDDocumentMetadata
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 DIDDocumentMetadata
impl Debug for DIDDocumentMetadata
Source§impl Default for DIDDocumentMetadata
impl Default for DIDDocumentMetadata
Source§fn default() -> DIDDocumentMetadata
fn default() -> DIDDocumentMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DIDDocumentMetadata
impl<'de> Deserialize<'de> for DIDDocumentMetadata
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
Source§impl PartialEq for DIDDocumentMetadata
impl PartialEq for DIDDocumentMetadata
Source§impl Serialize for DIDDocumentMetadata
impl Serialize for DIDDocumentMetadata
impl StructuralPartialEq for DIDDocumentMetadata
Auto Trait Implementations§
impl Freeze for DIDDocumentMetadata
impl RefUnwindSafe for DIDDocumentMetadata
impl Send for DIDDocumentMetadata
impl Sync for DIDDocumentMetadata
impl Unpin for DIDDocumentMetadata
impl UnwindSafe for DIDDocumentMetadata
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