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 Clone for LegacyVerificationMethod
impl Clone for LegacyVerificationMethod
Source§fn clone(&self) -> LegacyVerificationMethod
fn clone(&self) -> LegacyVerificationMethod
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LegacyVerificationMethod
impl RefUnwindSafe for LegacyVerificationMethod
impl Send for LegacyVerificationMethod
impl Sync for LegacyVerificationMethod
impl Unpin for LegacyVerificationMethod
impl UnwindSafe for LegacyVerificationMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more