Struct gpgme_sys::_gpgme_subkey
source · #[repr(C)]pub struct _gpgme_subkey {
pub next: gpgme_subkey_t,
pub bitfield: u32,
pub pubkey_algo: gpgme_pubkey_algo_t,
pub length: c_uint,
pub keyid: *mut c_char,
pub fpr: *mut c_char,
pub timestamp: c_long,
pub expires: c_long,
pub card_number: *mut c_char,
pub curve: *mut c_char,
pub keygrip: *mut c_char,
/* private fields */
}
Fields
next: gpgme_subkey_t
bitfield: u32
pubkey_algo: gpgme_pubkey_algo_t
length: c_uint
keyid: *mut c_char
fpr: *mut c_char
timestamp: c_long
expires: c_long
card_number: *mut c_char
curve: *mut c_char
keygrip: *mut c_char
Implementations
sourceimpl _gpgme_subkey
impl _gpgme_subkey
pub fn revoked(&self) -> bool
pub fn expired(&self) -> bool
pub fn disabled(&self) -> bool
pub fn invalid(&self) -> bool
pub fn can_encrypt(&self) -> bool
pub fn can_sign(&self) -> bool
pub fn can_certify(&self) -> bool
pub fn secret(&self) -> bool
pub fn can_authenticate(&self) -> bool
pub fn is_qualified(&self) -> bool
pub fn is_cardkey(&self) -> bool
pub fn is_de_vs(&self) -> bool
Trait Implementations
sourceimpl Clone for _gpgme_subkey
impl Clone for _gpgme_subkey
sourcefn clone(&self) -> _gpgme_subkey
fn clone(&self) -> _gpgme_subkey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for _gpgme_subkey
Auto Trait Implementations
impl RefUnwindSafe for _gpgme_subkey
impl !Send for _gpgme_subkey
impl !Sync for _gpgme_subkey
impl Unpin for _gpgme_subkey
impl UnwindSafe for _gpgme_subkey
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