parsec_interface/operations/psa_destroy_key.rs
1// Copyright 2019 Contributors to the Parsec project.
2// SPDX-License-Identifier: Apache-2.0
3//! # PsaDestroyKey operation
4//!
5//! Destroy a key.
6
7/// Native object for cryptographic key destruction.
8#[derive(Debug, Clone)]
9pub struct Operation {
10 /// `key_name` identifies the key to be destroyed.
11 pub key_name: String,
12}
13
14/// Native object for result of cryptographic key destruction.
15///
16/// True result of operation is returned in the response `status`.
17#[derive(Copy, Clone, Debug)]
18pub struct Result;