pub struct PublicKey {
pub created_at: Option<String>,
pub fingerprint: Option<String>,
pub id: Option<i64>,
pub key: Option<String>,
pub key_type: Option<String>,
pub read_only: Option<bool>,
pub title: Option<String>,
pub url: Option<String>,
pub user: Option<Box<User>>,
}
Expand description
PublicKey : PublicKey publickey is a user key to push code to repository
Fields§
§created_at: Option<String>
§fingerprint: Option<String>
§id: Option<i64>
§key: Option<String>
§key_type: Option<String>
§read_only: Option<bool>
§title: Option<String>
§url: Option<String>
§user: Option<Box<User>>
Implementations§
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
impl StructuralPartialEq for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin 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