pub struct PublicKey {
pub identifier: String,
pub fingerprint: Option<String>,
pub key_type: Option<String>,
pub usage: Option<String>,
pub comment: Option<String>,
pub created: Option<i64>,
pub verified: Option<i64>,
}Expand description
An SSH public key on the caller’s account.
Fields§
§identifier: String§fingerprint: Option<String>§key_type: Option<String>The key algorithm, e.g. ssh-ed25519.
usage: Option<String>auth — GitFox has no signing keys.
comment: Option<String>§created: Option<i64>§verified: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PublicKey
impl<'de> Deserialize<'de> for PublicKey
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
Auto Trait Implementations§
impl Forget for PublicKey
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnsafeUnpin for PublicKey
impl UnwindSafe for PublicKey
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