pub struct IssueCommentEdited {
pub action: IssueCommentEditedAction,
pub changes: IssueCommentEditedChanges,
pub comment: IssueComment,
pub installation: Option<InstallationLite>,
pub issue: IssueCommentEditedIssue,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
IssueCommentEdited
JSON schema
{
"title": "issue_comment edited event",
"type": "object",
"required": [
"action",
"changes",
"comment",
"issue",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"edited"
]
},
"changes": {
"description": "The changes to the comment.",
"type": "object",
"properties": {
"body": {
"type": "object",
"required": [
"from"
],
"properties": {
"from": {
"description": "The previous version of the body.",
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"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: IssueCommentEditedAction
§changes: IssueCommentEditedChanges
§comment: IssueComment
§installation: Option<InstallationLite>
§issue: IssueCommentEditedIssue
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl IssueCommentEdited
impl IssueCommentEdited
pub fn builder() -> IssueCommentEdited
Trait Implementations§
Source§impl Clone for IssueCommentEdited
impl Clone for IssueCommentEdited
Source§fn clone(&self) -> IssueCommentEdited
fn clone(&self) -> IssueCommentEdited
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 IssueCommentEdited
impl Debug for IssueCommentEdited
Source§impl<'de> Deserialize<'de> for IssueCommentEdited
impl<'de> Deserialize<'de> for IssueCommentEdited
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<&IssueCommentEdited> for IssueCommentEdited
impl From<&IssueCommentEdited> for IssueCommentEdited
Source§fn from(value: &IssueCommentEdited) -> Self
fn from(value: &IssueCommentEdited) -> Self
Converts to this type from the input type.
Source§impl From<IssueCommentEdited> for IssueCommentEdited
impl From<IssueCommentEdited> for IssueCommentEdited
Source§fn from(value: IssueCommentEdited) -> Self
fn from(value: IssueCommentEdited) -> Self
Converts to this type from the input type.
Source§impl From<IssueCommentEdited> for IssueCommentEvent
impl From<IssueCommentEdited> for IssueCommentEvent
Source§fn from(value: IssueCommentEdited) -> Self
fn from(value: IssueCommentEdited) -> Self
Converts to this type from the input type.
Source§impl Serialize for IssueCommentEdited
impl Serialize for IssueCommentEdited
Auto Trait Implementations§
impl Freeze for IssueCommentEdited
impl RefUnwindSafe for IssueCommentEdited
impl Send for IssueCommentEdited
impl Sync for IssueCommentEdited
impl Unpin for IssueCommentEdited
impl UnwindSafe for IssueCommentEdited
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