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