Struct aries_askar::kms::KeyParams
source ·
[−]pub struct KeyParams {
pub metadata: Option<String>,
pub reference: Option<String>,
pub data: Option<SecretBytes>,
}
Expand description
Parameters defining a stored key
Fields
metadata: Option<String>
Associated key metadata
reference: Option<String>
An optional external reference for the key
data: Option<SecretBytes>
The associated key data (JWK)
Trait Implementations
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 RefUnwindSafe for KeyParams
impl UnwindSafe for KeyParams
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.