pub struct IssueCommentDeleted {
pub action: IssueCommentDeletedAction,
pub comment: IssueComment,
pub installation: Option<InstallationLite>,
pub issue: IssueCommentDeletedIssue,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
IssueCommentDeleted
JSON schema
{
"title": "issue_comment deleted event",
"type": "object",
"required": [
"action",
"comment",
"issue",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"deleted"
]
},
"comment": {
"$ref": "#/definitions/issue-comment"
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"issue": {
"description": "The [issue](https://docs.github.com/en/rest/reference/issues) the comment belongs to.",
"allOf": [
{
"$ref": "#/definitions/issue"
},
{
"type": "object",
"required": [
"assignee",
"labels",
"locked",
"state"
],
"properties": {
"assignee": {
"oneOf": [
{
"$ref": "#/definitions/user"
},
{
"type": "null"
}
]
},
"labels": {
"type": "array",
"items": {
"$ref": "#/definitions/label"
}
},
"locked": {
"type": "boolean"
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
"type": "string",
"enum": [
"open",
"closed"
]
}
},
"tsAdditionalProperties": 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: IssueCommentDeletedAction
§comment: IssueComment
§installation: Option<InstallationLite>
§issue: IssueCommentDeletedIssue
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl IssueCommentDeleted
impl IssueCommentDeleted
pub fn builder() -> IssueCommentDeleted
Trait Implementations§
Source§impl Clone for IssueCommentDeleted
impl Clone for IssueCommentDeleted
Source§fn clone(&self) -> IssueCommentDeleted
fn clone(&self) -> IssueCommentDeleted
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 IssueCommentDeleted
impl Debug for IssueCommentDeleted
Source§impl<'de> Deserialize<'de> for IssueCommentDeleted
impl<'de> Deserialize<'de> for IssueCommentDeleted
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<&IssueCommentDeleted> for IssueCommentDeleted
impl From<&IssueCommentDeleted> for IssueCommentDeleted
Source§fn from(value: &IssueCommentDeleted) -> Self
fn from(value: &IssueCommentDeleted) -> Self
Converts to this type from the input type.
Source§impl From<IssueCommentDeleted> for IssueCommentDeleted
impl From<IssueCommentDeleted> for IssueCommentDeleted
Source§fn from(value: IssueCommentDeleted) -> Self
fn from(value: IssueCommentDeleted) -> Self
Converts to this type from the input type.
Source§impl From<IssueCommentDeleted> for IssueCommentEvent
impl From<IssueCommentDeleted> for IssueCommentEvent
Source§fn from(value: IssueCommentDeleted) -> Self
fn from(value: IssueCommentDeleted) -> Self
Converts to this type from the input type.
Source§impl Serialize for IssueCommentDeleted
impl Serialize for IssueCommentDeleted
Auto Trait Implementations§
impl Freeze for IssueCommentDeleted
impl RefUnwindSafe for IssueCommentDeleted
impl Send for IssueCommentDeleted
impl Sync for IssueCommentDeleted
impl Unpin for IssueCommentDeleted
impl UnwindSafe for IssueCommentDeleted
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