Struct github_rs::github::GPGKey [] [src]

pub struct GPGKey {
    pub id: u64,
    pub primary_key_id: Option<u64>,
    pub key_id: String,
    pub public_key: String,
    pub emails: Vec<Email>,
    pub subkeys: Option<Vec<GPGKey>>,
    pub can_sign: bool,
    pub can_encrypt_comms: bool,
    pub can_encrypt_storage: bool,
    pub can_certify: bool,
    pub created_at: String,
    pub expires_at: Option<String>,
}

Fields

id: u64 primary_key_id: Option<u64> key_id: String public_key: String emails: Vec<Email> subkeys: Option<Vec<GPGKey>> can_sign: bool can_encrypt_comms: bool can_encrypt_storage: bool can_certify: bool created_at: String expires_at: Option<String>

Trait Implementations

impl PartialEq for GPGKey
[src]

fn eq(&self, __arg_0: &GPGKey) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &GPGKey) -> bool

This method tests for !=.

impl Debug for GPGKey
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.