pub struct Did {
pub did: Option<String>,
pub key_type: Option<String>,
pub method: Option<String>,
pub posture: Option<String>,
pub verkey: Option<String>,
}Expand description
Options that are supplied when querying a wallet for DIDs
Fields§
§did: Option<String>The DID of interest
key_type: Option<String>The key type to query for eg. ed25519, bls12381g2
method: Option<String>DID method to query for. e.g. sov to only fetch indy/sov DIDs Available values : key, sov
posture: Option<String>The DID posture specifying whether the DID is the current public DID, posted to ledger but current public DID, or local to the wallet Available values : public, posted, wallet_only
verkey: Option<String>The verification key of interest
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Did
impl<'de> Deserialize<'de> for Did
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 Did
impl RefUnwindSafe for Did
impl Send for Did
impl Sync for Did
impl Unpin for Did
impl UnwindSafe for Did
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