pub struct IssuesClosed {
pub action: IssuesClosedAction,
pub installation: Option<InstallationLite>,
pub issue: IssuesClosedIssue,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
IssuesClosed
JSON schema
{
"title": "issues closed event",
"type": "object",
"required": [
"action",
"issue",
"repository",
"sender"
],
"properties": {
"action": {
"description": "The action that was performed.",
"type": "string",
"enum": [
"closed"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"issue": {
"description": "The [issue](https://docs.github.com/en/rest/reference/issues) itself.",
"allOf": [
{
"$ref": "#/definitions/issue"
},
{
"type": "object",
"required": [
"closed_at",
"state"
],
"properties": {
"closed_at": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"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: IssuesClosedAction
The action that was performed.
installation: Option<InstallationLite>
§issue: IssuesClosedIssue
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl IssuesClosed
impl IssuesClosed
pub fn builder() -> IssuesClosed
Trait Implementations§
Source§impl Clone for IssuesClosed
impl Clone for IssuesClosed
Source§fn clone(&self) -> IssuesClosed
fn clone(&self) -> IssuesClosed
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 IssuesClosed
impl Debug for IssuesClosed
Source§impl<'de> Deserialize<'de> for IssuesClosed
impl<'de> Deserialize<'de> for IssuesClosed
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<&IssuesClosed> for IssuesClosed
impl From<&IssuesClosed> for IssuesClosed
Source§fn from(value: &IssuesClosed) -> Self
fn from(value: &IssuesClosed) -> Self
Converts to this type from the input type.
Source§impl From<IssuesClosed> for IssuesClosed
impl From<IssuesClosed> for IssuesClosed
Source§fn from(value: IssuesClosed) -> Self
fn from(value: IssuesClosed) -> Self
Converts to this type from the input type.
Source§impl From<IssuesClosed> for IssuesEvent
impl From<IssuesClosed> for IssuesEvent
Source§fn from(value: IssuesClosed) -> Self
fn from(value: IssuesClosed) -> Self
Converts to this type from the input type.
Source§impl Serialize for IssuesClosed
impl Serialize for IssuesClosed
Source§impl TryFrom<IssuesClosed> for IssuesClosed
impl TryFrom<IssuesClosed> for IssuesClosed
Auto Trait Implementations§
impl Freeze for IssuesClosed
impl RefUnwindSafe for IssuesClosed
impl Send for IssuesClosed
impl Sync for IssuesClosed
impl Unpin for IssuesClosed
impl UnwindSafe for IssuesClosed
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