Struct parsec_interface::operations::psa_import_key::Operation
source · [−]pub struct Operation {
pub key_name: String,
pub attributes: Attributes,
pub data: Secret<Vec<u8>>,
}Expand description
Native object for cryptographic key importing operation.
Fields
key_name: Stringkey_name specifies a name by which the service will identify the key. Key
name must be unique per application.
attributes: Attributesattributes specifies the attributes for the new key.
data: Secret<Vec<u8>>data contains the bytes for the key,
formatted in accordance with the requirements of the provider for the key type
specified in attributes.
Trait Implementations
sourceimpl CheckDeprecated for Operation
impl CheckDeprecated for Operation
sourcefn check_deprecated(&self) -> Result<()>
fn check_deprecated(&self) -> Result<()>
Checks if any part of the key template is deprecated by PSA Crypto API
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more