#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.