pub struct OpenPgpKeyUsageFlags(KeyFlags);
Expand description
Key usage flags that can be set on the generated certificate.
Tuple Fields§
§0: KeyFlags
Implementations§
source§impl KeyUsageFlags
impl KeyUsageFlags
sourcepub fn clear_sign(&mut self)
pub fn clear_sign(&mut self)
Makes it impossible for this key to issue data signatures.
Trait Implementations§
source§impl Default for KeyUsageFlags
impl Default for KeyUsageFlags
source§fn default() -> KeyUsageFlags
fn default() -> KeyUsageFlags
Returns the “default value” for a type. Read more
source§impl From<KeyUsageFlags> for KeyFlags
impl From<KeyUsageFlags> for KeyFlags
source§fn from(value: KeyUsageFlags) -> Self
fn from(value: KeyUsageFlags) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyUsageFlags
impl RefUnwindSafe for KeyUsageFlags
impl Send for KeyUsageFlags
impl Sync for KeyUsageFlags
impl Unpin for KeyUsageFlags
impl UnwindSafe for KeyUsageFlags
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