pub struct SigningKeyOptions {
pub sign: bool,
pub extractable: bool,
}Expand description
Mint-time policy for a SigningKey. See MacKeyOptions for the
options contract; sign is the sole usage, so it must be enabled for a
mint to succeed.
Fields§
§sign: boolWhether the minted key may sign.
extractable: boolWhether the minted key’s material may be exported (by future format-specific exports; there is no export operation today).
Trait Implementations§
Source§impl Clone for SigningKeyOptions
impl Clone for SigningKeyOptions
Source§fn clone(&self) -> SigningKeyOptions
fn clone(&self) -> SigningKeyOptions
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 SigningKeyOptions
impl Debug for SigningKeyOptions
Source§impl Default for SigningKeyOptions
impl Default for SigningKeyOptions
Source§fn default() -> SigningKeyOptions
fn default() -> SigningKeyOptions
Returns the “default value” for a type. Read more
impl Copy for SigningKeyOptions
Auto Trait Implementations§
impl Freeze for SigningKeyOptions
impl RefUnwindSafe for SigningKeyOptions
impl Send for SigningKeyOptions
impl Sync for SigningKeyOptions
impl Unpin for SigningKeyOptions
impl UnsafeUnpin for SigningKeyOptions
impl UnwindSafe for SigningKeyOptions
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