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: String
key_name
specifies a name by which the service will identify the key. Key
name must be unique per application.
attributes: Attributes
attributes
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§
Source§impl CheckDeprecated for Operation
impl CheckDeprecated for Operation
Source§fn 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 Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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