pub struct Multikey {
pub id: Url,
pub kind: String,
pub controller: Url,
pub public_key_multibase: String,
}Expand description
FEP-521a Multikey block.
Fields§
§id: UrlGlobally unique identifier for this key, typically the actor URL
suffixed with a #key-N fragment.
kind: StringType discriminator. MUST be "Multikey" per FEP-521a §3.
controller: UrlActor that owns and rotates this key.
public_key_multibase: StringMultibase-encoded multicodec public key payload (e.g.
z6Mk… for Ed25519, zDn… for P-256).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Multikey
impl<'de> Deserialize<'de> for Multikey
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
impl Eq for Multikey
impl StructuralPartialEq for Multikey
Auto Trait Implementations§
impl Freeze for Multikey
impl RefUnwindSafe for Multikey
impl Send for Multikey
impl Sync for Multikey
impl Unpin for Multikey
impl UnsafeUnpin for Multikey
impl UnwindSafe for Multikey
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.