pub struct DeployKeyDeleted {
pub action: DeployKeyDeletedAction,
pub installation: Option<InstallationLite>,
pub key: DeployKeyDeletedKey,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
DeployKeyDeleted
JSON schema
{
"title": "deploy_key deleted event",
"type": "object",
"required": [
"action",
"key",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"deleted"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"key": {
"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
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: DeployKeyDeletedAction
§installation: Option<InstallationLite>
§key: DeployKeyDeletedKey
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl DeployKeyDeleted
impl DeployKeyDeleted
pub fn builder() -> DeployKeyDeleted
Trait Implementations§
Source§impl Clone for DeployKeyDeleted
impl Clone for DeployKeyDeleted
Source§fn clone(&self) -> DeployKeyDeleted
fn clone(&self) -> DeployKeyDeleted
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 DeployKeyDeleted
impl Debug for DeployKeyDeleted
Source§impl<'de> Deserialize<'de> for DeployKeyDeleted
impl<'de> Deserialize<'de> for DeployKeyDeleted
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<&DeployKeyDeleted> for DeployKeyDeleted
impl From<&DeployKeyDeleted> for DeployKeyDeleted
Source§fn from(value: &DeployKeyDeleted) -> Self
fn from(value: &DeployKeyDeleted) -> Self
Converts to this type from the input type.
Source§impl From<DeployKeyDeleted> for DeployKeyDeleted
impl From<DeployKeyDeleted> for DeployKeyDeleted
Source§fn from(value: DeployKeyDeleted) -> Self
fn from(value: DeployKeyDeleted) -> Self
Converts to this type from the input type.
Source§impl From<DeployKeyDeleted> for DeployKeyEvent
impl From<DeployKeyDeleted> for DeployKeyEvent
Source§fn from(value: DeployKeyDeleted) -> Self
fn from(value: DeployKeyDeleted) -> Self
Converts to this type from the input type.
Source§impl Serialize for DeployKeyDeleted
impl Serialize for DeployKeyDeleted
Source§impl TryFrom<DeployKeyDeleted> for DeployKeyDeleted
impl TryFrom<DeployKeyDeleted> for DeployKeyDeleted
Auto Trait Implementations§
impl Freeze for DeployKeyDeleted
impl RefUnwindSafe for DeployKeyDeleted
impl Send for DeployKeyDeleted
impl Sync for DeployKeyDeleted
impl Unpin for DeployKeyDeleted
impl UnwindSafe for DeployKeyDeleted
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