pub enum DidMethod {
Ubl,
Key,
Web,
}Expand description
DID method (the second component after did:)
Variants§
Ubl
UBL native: did:ubl:type:id
Key
Self-certifying key: did:key:z...
Web
Domain-linked: did:web:example.com
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DidMethod
impl<'de> Deserialize<'de> for DidMethod
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 DidMethod
impl StructuralPartialEq for DidMethod
Auto Trait Implementations§
impl Freeze for DidMethod
impl RefUnwindSafe for DidMethod
impl Send for DidMethod
impl Sync for DidMethod
impl Unpin for DidMethod
impl UnwindSafe for DidMethod
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