pub struct DeployKey {
pub id: i32,
pub key: String,
pub url: String,
pub title: String,
pub verified: bool,
pub created_at: String,
pub read_only: bool,
pub added_by: Option<Option<String>>,
pub last_used: Option<Option<String>>,
}
Expand description
DeployKey : An SSH key granting access to a single repository.
Fields§
§id: i32
§key: String
§url: String
§title: String
§verified: bool
§created_at: String
§read_only: bool
§added_by: Option<Option<String>>
§last_used: Option<Option<String>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeployKey
impl<'de> Deserialize<'de> for DeployKey
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 DeployKey
Auto Trait Implementations§
impl Freeze for DeployKey
impl RefUnwindSafe for DeployKey
impl Send for DeployKey
impl Sync for DeployKey
impl Unpin for DeployKey
impl UnwindSafe for DeployKey
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