pub struct GpgKey {Show 13 fields
pub can_certify: Option<bool>,
pub can_encrypt_comms: Option<bool>,
pub can_encrypt_storage: Option<bool>,
pub can_sign: Option<bool>,
pub created_at: Option<String>,
pub emails: Option<Vec<GpgKeyEmail>>,
pub expires_at: Option<String>,
pub id: Option<i64>,
pub key_id: Option<String>,
pub primary_key_id: Option<String>,
pub public_key: Option<String>,
pub subkeys: Option<Vec<GpgKey>>,
pub verified: Option<bool>,
}
Expand description
GpgKey : GPGKey a user GPG key to sign commit and tag in repository
Fields§
§can_certify: Option<bool>
§can_encrypt_comms: Option<bool>
§can_encrypt_storage: Option<bool>
§can_sign: Option<bool>
§created_at: Option<String>
§emails: Option<Vec<GpgKeyEmail>>
§expires_at: Option<String>
§id: Option<i64>
§key_id: Option<String>
§primary_key_id: Option<String>
§public_key: Option<String>
§subkeys: Option<Vec<GpgKey>>
§verified: Option<bool>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GpgKey
impl<'de> Deserialize<'de> for GpgKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GpgKey
Auto Trait Implementations§
impl Freeze for GpgKey
impl RefUnwindSafe for GpgKey
impl Send for GpgKey
impl Sync for GpgKey
impl Unpin for GpgKey
impl UnwindSafe for GpgKey
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