pub struct DidMethod(pub String);Expand description
A wrapper providing validation for DID methods
Tuple Fields§
§0: StringTrait 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
Source§impl Validatable for DidMethod
impl Validatable for DidMethod
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