Struct didcomm_rs::VerificationMethod [−]
pub struct VerificationMethod {
pub id: String,
pub key_type: String,
pub controller: String,
pub public_key: Option<KeyFormat>,
pub private_key: Option<KeyFormat>,
}
Fields
id: String
key_type: String
controller: String
public_key: Option<KeyFormat>
private_key: Option<KeyFormat>
Trait Implementations
impl Clone for VerificationMethod
impl Clone for VerificationMethod
pub fn clone(&self) -> VerificationMethod
pub fn clone(&self) -> VerificationMethod
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for VerificationMethod
impl Debug for VerificationMethod
impl Default for VerificationMethod
impl Default for VerificationMethod
pub fn default() -> VerificationMethod
pub fn default() -> VerificationMethod
Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for VerificationMethod
impl<'de> Deserialize<'de> for VerificationMethod
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<VerificationMethod, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<VerificationMethod, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<'_> From<&'_ VerificationMethod> for KeyPair
impl<'_> From<&'_ VerificationMethod> for KeyPair
pub fn from(vm: &VerificationMethod) -> KeyPair
pub fn from(vm: &VerificationMethod) -> KeyPair
Performs the conversion.
impl PartialEq<VerificationMethod> for VerificationMethod
impl PartialEq<VerificationMethod> for VerificationMethod
pub fn eq(&self, other: &VerificationMethod) -> bool
pub fn eq(&self, other: &VerificationMethod) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &VerificationMethod) -> bool
pub fn ne(&self, other: &VerificationMethod) -> bool
This method tests for !=
.
impl Serialize for VerificationMethod
impl Serialize for VerificationMethod
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for VerificationMethod
Auto Trait Implementations
impl RefUnwindSafe for VerificationMethod
impl Send for VerificationMethod
impl Sync for VerificationMethod
impl Unpin for VerificationMethod
impl UnwindSafe for VerificationMethod
Blanket Implementations
Mutably borrows from an owned value. Read more