pub struct KeyView {
pub created_at: Option<String>,
pub fingerprint: Option<String>,
pub id: Option<String>,
pub public_key: Option<String>,
pub title: Option<String>,
}Fields§
§created_at: Option<String>CreatedAt is RFC 3339 UTC.
fingerprint: Option<String>Fingerprint is the key’s SHA256 fingerprint ("SHA256:…"), globally unique and the handle SSH auth resolves a presented key by.
id: Option<String>ID is the key’s identifier ("gitkey_…"), the handle to delete it by.
public_key: Option<String>PublicKey is the canonical OpenSSH authorized-key line as stored.
title: Option<String>Title is the key’s label — the caller’s, or the comment on the key line.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyView
impl<'de> Deserialize<'de> for KeyView
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 KeyView
Auto Trait Implementations§
impl Freeze for KeyView
impl RefUnwindSafe for KeyView
impl Send for KeyView
impl Sync for KeyView
impl Unpin for KeyView
impl UnsafeUnpin for KeyView
impl UnwindSafe for KeyView
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