Struct sol_did::legacy::LegacyVerificationMethod
source · pub struct LegacyVerificationMethod {
pub id: String,
pub verification_type: String,
pub pubkey: Pubkey,
}Fields§
§id: StringUnique id for the verification method, and how to find it
When the DID document is resolved, this is concatenated to the DID to produce
did:sol:
verification_type: StringWhat kind of key this is. TODO use an enum?
pubkey: PubkeyThe associated pubkey itself
Implementations§
source§impl LegacyVerificationMethod
impl LegacyVerificationMethod
pub fn post_migration_size(&self) -> usize
Trait Implementations§
source§impl BorshDeserialize for LegacyVerificationMethodwhere
String: BorshDeserialize,
String: BorshDeserialize,
Pubkey: BorshDeserialize,
impl BorshDeserialize for LegacyVerificationMethodwhere
String: BorshDeserialize,
String: BorshDeserialize,
Pubkey: BorshDeserialize,
source§impl Clone for LegacyVerificationMethod
impl Clone for LegacyVerificationMethod
source§fn clone(&self) -> LegacyVerificationMethod
fn clone(&self) -> LegacyVerificationMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more