pub struct DeployKeyCreatedKey {
pub created_at: DateTime<Utc>,
pub id: i64,
pub key: String,
pub read_only: bool,
pub title: String,
pub url: String,
pub verified: bool,
}
Expand description
The deploy key
resource.
JSON schema
{
"description": "The [`deploy key`](https://docs.github.com/en/rest/reference/deployments#get-a-deploy-key) resource.",
"type": "object",
"required": [
"created_at",
"id",
"key",
"read_only",
"title",
"url",
"verified"
],
"properties": {
"created_at": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "integer"
},
"key": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"title": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"verified": {
"type": "boolean"
}
},
"additionalProperties": false
}
Fields§
§created_at: DateTime<Utc>
§id: i64
§key: String
§read_only: bool
§title: String
§url: String
§verified: bool
Implementations§
Source§impl DeployKeyCreatedKey
impl DeployKeyCreatedKey
pub fn builder() -> DeployKeyCreatedKey
Trait Implementations§
Source§impl Clone for DeployKeyCreatedKey
impl Clone for DeployKeyCreatedKey
Source§fn clone(&self) -> DeployKeyCreatedKey
fn clone(&self) -> DeployKeyCreatedKey
Returns a duplicate 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 DeployKeyCreatedKey
impl Debug for DeployKeyCreatedKey
Source§impl<'de> Deserialize<'de> for DeployKeyCreatedKey
impl<'de> Deserialize<'de> for DeployKeyCreatedKey
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
Source§impl From<&DeployKeyCreatedKey> for DeployKeyCreatedKey
impl From<&DeployKeyCreatedKey> for DeployKeyCreatedKey
Source§fn from(value: &DeployKeyCreatedKey) -> Self
fn from(value: &DeployKeyCreatedKey) -> Self
Converts to this type from the input type.
Source§impl From<DeployKeyCreatedKey> for DeployKeyCreatedKey
impl From<DeployKeyCreatedKey> for DeployKeyCreatedKey
Source§fn from(value: DeployKeyCreatedKey) -> Self
fn from(value: DeployKeyCreatedKey) -> Self
Converts to this type from the input type.
Source§impl Serialize for DeployKeyCreatedKey
impl Serialize for DeployKeyCreatedKey
Auto Trait Implementations§
impl Freeze for DeployKeyCreatedKey
impl RefUnwindSafe for DeployKeyCreatedKey
impl Send for DeployKeyCreatedKey
impl Sync for DeployKeyCreatedKey
impl Unpin for DeployKeyCreatedKey
impl UnwindSafe for DeployKeyCreatedKey
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