Struct gitlab::types::SshKeyWithUser
source · pub struct SshKeyWithUser {
pub id: SshKeyId,
pub title: String,
pub key: String,
pub created_at: DateTime<Utc>,
pub user: UserPublic,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
An uploaded SSH key with its owner.
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.
user: UserPublic
👎Deprecated since 0.1609.0: define deserialization types in client code
The user associated with the SSH key.
Trait Implementations§
source§impl Clone for SshKeyWithUser
impl Clone for SshKeyWithUser
source§fn clone(&self) -> SshKeyWithUser
fn clone(&self) -> SshKeyWithUser
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SshKeyWithUser
impl Debug for SshKeyWithUser
source§impl<'de> Deserialize<'de> for SshKeyWithUser
impl<'de> Deserialize<'de> for SshKeyWithUser
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 SshKeyWithUser
impl RefUnwindSafe for SshKeyWithUser
impl Send for SshKeyWithUser
impl Sync for SshKeyWithUser
impl Unpin for SshKeyWithUser
impl UnwindSafe for SshKeyWithUser
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