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