pub struct MetaData {
pub version_id: String,
pub version_number: u32,
pub version_time: String,
pub created: String,
pub updated: String,
pub scid: String,
pub portable: bool,
pub deactivated: bool,
pub witness: Option<Witnesses>,
pub watchers: Option<Vec<String>>,
}Expand description
Resolved Document MetaData Returned as resolved Document MetaData on a successful resolve
Fields§
§version_id: StringThe <version_number>-<hash> identifier for this log entry.
version_number: u32Integer version number parsed from version_id (e.g. 2 for
"2-Qm..."). Exposed as a sibling of version_id for consumers
that want the integer without parsing the string.
version_time: StringRFC 3339 timestamp when this version was created.
created: StringRFC 3339 timestamp when the DID was first created.
updated: StringRFC 3339 timestamp of the most recent update.
scid: StringSelf-Certifying Identifier (SCID) for the DID.
portable: boolWhether the DID is portable (can change its web address).
deactivated: boolWhether the DID has been deactivated.
witness: Option<Witnesses>Active witness configuration, if any.
watchers: Option<Vec<String>>Watcher endpoints configured for this DID.
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
Auto Trait Implementations§
impl Freeze for MetaData
impl RefUnwindSafe for MetaData
impl Send for MetaData
impl Sync for MetaData
impl Unpin for MetaData
impl UnsafeUnpin for MetaData
impl UnwindSafe for MetaData
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