pub struct IssuesOpened {
pub action: IssuesOpenedAction,
pub changes: Option<IssuesOpenedChanges>,
pub installation: Option<InstallationLite>,
pub issue: IssuesOpenedIssue,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
IssuesOpened
JSON schema
{
"title": "issues opened event",
"type": "object",
"required": [
"action",
"issue",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"opened"
]
},
"changes": {
"type": "object",
"required": [
"old_issue",
"old_repository"
],
"properties": {
"old_issue": {
"$ref": "#/definitions/issue"
},
"old_repository": {
"$ref": "#/definitions/repository"
}
},
"additionalProperties": false
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"issue": {
"allOf": [
{
"$ref": "#/definitions/issue"
},
{
"type": "object",
"required": [
"closed_at",
"state"
],
"properties": {
"closed_at": {
"type": "null"
},
"state": {
"type": "string",
"enum": [
"open"
]
}
},
"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: IssuesOpenedAction
§changes: Option<IssuesOpenedChanges>
§installation: Option<InstallationLite>
§issue: IssuesOpenedIssue
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl IssuesOpened
impl IssuesOpened
pub fn builder() -> IssuesOpened
Trait Implementations§
Source§impl Clone for IssuesOpened
impl Clone for IssuesOpened
Source§fn clone(&self) -> IssuesOpened
fn clone(&self) -> IssuesOpened
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 IssuesOpened
impl Debug for IssuesOpened
Source§impl<'de> Deserialize<'de> for IssuesOpened
impl<'de> Deserialize<'de> for IssuesOpened
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<&IssuesOpened> for IssuesOpened
impl From<&IssuesOpened> for IssuesOpened
Source§fn from(value: &IssuesOpened) -> Self
fn from(value: &IssuesOpened) -> Self
Converts to this type from the input type.
Source§impl From<IssuesOpened> for IssuesEvent
impl From<IssuesOpened> for IssuesEvent
Source§fn from(value: IssuesOpened) -> Self
fn from(value: IssuesOpened) -> Self
Converts to this type from the input type.
Source§impl From<IssuesOpened> for IssuesOpened
impl From<IssuesOpened> for IssuesOpened
Source§fn from(value: IssuesOpened) -> Self
fn from(value: IssuesOpened) -> Self
Converts to this type from the input type.
Source§impl Serialize for IssuesOpened
impl Serialize for IssuesOpened
Source§impl TryFrom<IssuesOpened> for IssuesOpened
impl TryFrom<IssuesOpened> for IssuesOpened
Auto Trait Implementations§
impl Freeze for IssuesOpened
impl RefUnwindSafe for IssuesOpened
impl Send for IssuesOpened
impl Sync for IssuesOpened
impl Unpin for IssuesOpened
impl UnwindSafe for IssuesOpened
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