pub struct ProvisionedDid {
pub id: String,
pub did_document: Option<Value>,
pub log_entry: Option<String>,
pub secrets: Vec<SecretEntry>,
}Expand description
DID material included when a DID is created during context provisioning.
Fields§
§id: StringThe DID identifier (e.g. did:webvh:...).
did_document: Option<Value>DID document (JSON).
log_entry: Option<String>Serialized DID log entry for did.jsonl.
secrets: Vec<SecretEntry>Private keys associated with the DID.
Trait Implementations§
Source§impl Clone for ProvisionedDid
impl Clone for ProvisionedDid
Source§fn clone(&self) -> ProvisionedDid
fn clone(&self) -> ProvisionedDid
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProvisionedDid
impl Debug for ProvisionedDid
Source§impl<'de> Deserialize<'de> for ProvisionedDid
impl<'de> Deserialize<'de> for ProvisionedDid
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 ProvisionedDid
impl RefUnwindSafe for ProvisionedDid
impl Send for ProvisionedDid
impl Sync for ProvisionedDid
impl Unpin for ProvisionedDid
impl UnsafeUnpin for ProvisionedDid
impl UnwindSafe for ProvisionedDid
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