pub struct NewKey {
pub id: String,
pub key_type: String,
pub public_key_multibase: String,
}Expand description
A new key being rotated to.
Fields§
§id: StringKey identifier (e.g., “did:key:…#root-2”).
key_type: StringKey type.
public_key_multibase: StringPublic key in multibase format.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewKey
impl<'de> Deserialize<'de> for NewKey
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
Auto Trait Implementations§
impl Freeze for NewKey
impl RefUnwindSafe for NewKey
impl Send for NewKey
impl Sync for NewKey
impl Unpin for NewKey
impl UnwindSafe for NewKey
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