pub enum VerificationRelationship {
Reference(String),
Embedded(VerificationMethod),
}Expand description
Verification relationship - either a reference or embedded method
Variants§
Reference(String)
Reference to a verification method by ID
Embedded(VerificationMethod)
Embedded verification method
Trait Implementations§
Source§impl Clone for VerificationRelationship
impl Clone for VerificationRelationship
Source§fn clone(&self) -> VerificationRelationship
fn clone(&self) -> VerificationRelationship
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 VerificationRelationship
impl Debug for VerificationRelationship
Source§impl<'de> Deserialize<'de> for VerificationRelationship
impl<'de> Deserialize<'de> for VerificationRelationship
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 From<&str> for VerificationRelationship
impl From<&str> for VerificationRelationship
Source§impl From<String> for VerificationRelationship
impl From<String> for VerificationRelationship
Source§impl From<VerificationMethod> for VerificationRelationship
impl From<VerificationMethod> for VerificationRelationship
Source§fn from(method: VerificationMethod) -> Self
fn from(method: VerificationMethod) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VerificationRelationship
impl RefUnwindSafe for VerificationRelationship
impl Send for VerificationRelationship
impl Sync for VerificationRelationship
impl Unpin for VerificationRelationship
impl UnsafeUnpin for VerificationRelationship
impl UnwindSafe for VerificationRelationship
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