pub struct DidCreateSpec {
pub profile: DidProfile,
pub domain: String,
pub port: Option<u16>,
pub path_segments: Vec<String>,
pub capabilities: Capabilities,
pub managed_keys: Vec<ManagedKeySpec>,
pub external_keys: Vec<ExternalPublicKeySpec>,
pub services: Vec<ServiceSpec>,
pub agent_description_url: Option<String>,
pub extensions: Vec<DidExtensionSpec>,
}Fields§
§profile: DidProfile§domain: String§port: Option<u16>§path_segments: Vec<String>§capabilities: Capabilities§managed_keys: Vec<ManagedKeySpec>§external_keys: Vec<ExternalPublicKeySpec>§services: Vec<ServiceSpec>§agent_description_url: Option<String>§extensions: Vec<DidExtensionSpec>Implementations§
Trait Implementations§
Source§impl Clone for DidCreateSpec
impl Clone for DidCreateSpec
Source§fn clone(&self) -> DidCreateSpec
fn clone(&self) -> DidCreateSpec
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 DidCreateSpec
impl Debug for DidCreateSpec
Source§impl<'de> Deserialize<'de> for DidCreateSpec
impl<'de> Deserialize<'de> for DidCreateSpec
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
impl Eq for DidCreateSpec
Source§impl PartialEq for DidCreateSpec
impl PartialEq for DidCreateSpec
Source§impl Serialize for DidCreateSpec
impl Serialize for DidCreateSpec
impl StructuralPartialEq for DidCreateSpec
Auto Trait Implementations§
impl Freeze for DidCreateSpec
impl RefUnwindSafe for DidCreateSpec
impl Send for DidCreateSpec
impl Sync for DidCreateSpec
impl Unpin for DidCreateSpec
impl UnsafeUnpin for DidCreateSpec
impl UnwindSafe for DidCreateSpec
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