pub struct Multikey {
pub id: Option<Iri>,
pub controller: Option<AnyActor>,
pub public_key: Option<String>,
}Expand description
Represents a key owned by an actor according to FEP-521a: Representing actor’s public keys.
The type https://w3id.org/security#Multikey.
Fields§
§id: Option<Iri>The IRI that identifies this object.
controller: Option<AnyActor>An actor who owns this key.
public_key: Option<String>A Multibase-encoded value of a Multicodec prefix and the key.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Multikey
impl<'de> Deserialize<'de> for Multikey
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
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