Struct alpm_sys::_alpm_pgpkey_t
source · #[repr(C)]pub struct _alpm_pgpkey_t {
pub data: *mut c_void,
pub fingerprint: *mut c_char,
pub uid: *mut c_char,
pub name: *mut c_char,
pub email: *mut c_char,
pub created: alpm_time_t,
pub expires: alpm_time_t,
pub length: c_uint,
pub revoked: c_uint,
pub pubkey_algo: c_char,
}
Expand description
A PGP key
Fields§
§data: *mut c_void
The actual key data
fingerprint: *mut c_char
The key’s fingerprint
uid: *mut c_char
UID of the key
name: *mut c_char
Name of the key’s owner
email: *mut c_char
Email of the key’s owner
created: alpm_time_t
When the key was created
expires: alpm_time_t
When the key expires
length: c_uint
The length of the key
revoked: c_uint
has the key been revoked
pubkey_algo: c_char
A character representing the encryption algorithm used by the public key
? = unknown R = RSA D = DSA E = EDDSA
Trait Implementations§
source§impl Clone for _alpm_pgpkey_t
impl Clone for _alpm_pgpkey_t
source§fn clone(&self) -> _alpm_pgpkey_t
fn clone(&self) -> _alpm_pgpkey_t
Returns a copy of the value. Read more
1.0.0 · 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 _alpm_pgpkey_t
impl Debug for _alpm_pgpkey_t
impl Copy for _alpm_pgpkey_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_pgpkey_t
impl !Send for _alpm_pgpkey_t
impl !Sync for _alpm_pgpkey_t
impl Unpin for _alpm_pgpkey_t
impl UnwindSafe for _alpm_pgpkey_t
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