pub struct SshKey {
pub id: SshKeyId,
pub title: String,
pub key: String,
pub created_at: DateTime<Utc>,
pub can_push: bool,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
An uploaded SSH key.
Fields§
§id: SshKeyId
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the SSH key.
title: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The title of the key.
key: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The public half of the SSH key.
created_at: DateTime<Utc>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the key was created.
can_push: bool
👎Deprecated since 0.1609.0: define deserialization types in client code
Whether the key may push to repositories or not.
Trait Implementations§
source§impl<'de> Deserialize<'de> for SshKey
impl<'de> Deserialize<'de> for SshKey
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 Freeze for SshKey
impl RefUnwindSafe for SshKey
impl Send for SshKey
impl Sync for SshKey
impl Unpin for SshKey
impl UnwindSafe for SshKey
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