pub struct KwKeyOptions {
pub wrap: bool,
pub unwrap: bool,
pub extractable: bool,
}Expand description
Mint-time policy for a KwKey. See MacKeyOptions for the options
contract.
Fields§
§wrap: boolWhether the minted key may wrap key material.
unwrap: boolWhether the minted key may unwrap key material.
extractable: boolWhether the minted key’s material may be exported.
Trait Implementations§
Source§impl Clone for KwKeyOptions
impl Clone for KwKeyOptions
Source§fn clone(&self) -> KwKeyOptions
fn clone(&self) -> KwKeyOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KwKeyOptions
impl Debug for KwKeyOptions
Source§impl Default for KwKeyOptions
impl Default for KwKeyOptions
Source§fn default() -> KwKeyOptions
fn default() -> KwKeyOptions
Returns the “default value” for a type. Read more
impl Copy for KwKeyOptions
Auto Trait Implementations§
impl Freeze for KwKeyOptions
impl RefUnwindSafe for KwKeyOptions
impl Send for KwKeyOptions
impl Sync for KwKeyOptions
impl Unpin for KwKeyOptions
impl UnsafeUnpin for KwKeyOptions
impl UnwindSafe for KwKeyOptions
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