Struct ddoresolver_rs::KeyAgreement
source · [−]pub struct KeyAgreement {
pub id: String,
pub type: String,
pub controller: String,
pub public_key_base58: String,
}
Expand description
“Temporary” struct to extend did_key crate’s Document
with KeyAgreement
instead of string.
Fields
id: String
type: String
controller: String
public_key_base58: String
Trait Implementations
sourceimpl Debug for KeyAgreement
impl Debug for KeyAgreement
sourceimpl<'de> Deserialize<'de> for KeyAgreement
impl<'de> Deserialize<'de> for KeyAgreement
sourcefn 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
sourceimpl Serialize for KeyAgreement
impl Serialize for KeyAgreement
Auto Trait Implementations
impl RefUnwindSafe for KeyAgreement
impl Send for KeyAgreement
impl Sync for KeyAgreement
impl Unpin for KeyAgreement
impl UnwindSafe for KeyAgreement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more