pub struct DaemonSubkeyPrivatePackage {
pub schema: String,
pub user_did: Did,
pub verification_method: String,
pub key_type: String,
pub key_algorithm: Option<String>,
pub public_key_multibase: String,
pub private_key_encoding: String,
pub private_key_pem: String,
pub private_key_multibase: String,
}Fields§
§schema: String§user_did: Did§verification_method: String§key_type: String§key_algorithm: Option<String>§public_key_multibase: String§private_key_encoding: String§private_key_pem: String§private_key_multibase: StringLegacy compatibility field. New JSON serialization writes private_key_pem
instead of this v1 field, but older Rust/Dart callers may still read it.
Implementations§
Trait Implementations§
Source§impl Clone for DaemonSubkeyPrivatePackage
impl Clone for DaemonSubkeyPrivatePackage
Source§fn clone(&self) -> DaemonSubkeyPrivatePackage
fn clone(&self) -> DaemonSubkeyPrivatePackage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DaemonSubkeyPrivatePackage
impl Debug for DaemonSubkeyPrivatePackage
Source§impl<'de> Deserialize<'de> for DaemonSubkeyPrivatePackage
impl<'de> Deserialize<'de> for DaemonSubkeyPrivatePackage
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 DaemonSubkeyPrivatePackage
Source§impl PartialEq for DaemonSubkeyPrivatePackage
impl PartialEq for DaemonSubkeyPrivatePackage
Source§fn eq(&self, other: &DaemonSubkeyPrivatePackage) -> bool
fn eq(&self, other: &DaemonSubkeyPrivatePackage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DaemonSubkeyPrivatePackage
Auto Trait Implementations§
impl Freeze for DaemonSubkeyPrivatePackage
impl RefUnwindSafe for DaemonSubkeyPrivatePackage
impl Send for DaemonSubkeyPrivatePackage
impl Sync for DaemonSubkeyPrivatePackage
impl Unpin for DaemonSubkeyPrivatePackage
impl UnsafeUnpin for DaemonSubkeyPrivatePackage
impl UnwindSafe for DaemonSubkeyPrivatePackage
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§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.