pub struct ReadKeyResponse {Show 14 fields
pub key_type: KeyType,
pub deletion_allowed: bool,
pub derived: bool,
pub exportable: bool,
pub allow_plaintext_backup: bool,
pub keys: ReadKeyData,
pub min_decryption_version: u64,
pub min_encryption_version: u64,
pub name: String,
pub supports_encryption: bool,
pub supports_decryption: bool,
pub supports_derivation: bool,
pub supports_signing: bool,
pub imported: Option<bool>,
}
Expand description
Response from executing ReadKeyRequest
Fields§
§key_type: KeyType
§deletion_allowed: bool
§derived: bool
§exportable: bool
§allow_plaintext_backup: bool
§keys: ReadKeyData
If the key is asymmetric, the API returns the public keys
min_decryption_version: u64
§min_encryption_version: u64
§name: String
§supports_encryption: bool
§supports_decryption: bool
§supports_derivation: bool
§supports_signing: bool
§imported: Option<bool>
Trait Implementations§
source§impl Debug for ReadKeyResponse
impl Debug for ReadKeyResponse
source§impl<'de> Deserialize<'de> for ReadKeyResponse
impl<'de> Deserialize<'de> for ReadKeyResponse
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 ReadKeyResponse
impl RefUnwindSafe for ReadKeyResponse
impl Send for ReadKeyResponse
impl Sync for ReadKeyResponse
impl Unpin for ReadKeyResponse
impl UnwindSafe for ReadKeyResponse
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