pub struct PullRequestUnassigned {
pub action: PullRequestUnassignedAction,
pub assignee: User,
pub installation: Option<InstallationLite>,
pub number: i64,
pub organization: Option<Organization>,
pub pull_request: PullRequest,
pub repository: Repository,
pub sender: User,
}
Expand description
PullRequestUnassigned
JSON schema
{
"title": "pull_request unassigned event",
"type": "object",
"required": [
"action",
"assignee",
"number",
"pull_request",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"unassigned"
]
},
"assignee": {
"$ref": "#/definitions/user"
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"number": {
"description": "The pull request number.",
"type": "integer"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pull_request": {
"$ref": "#/definitions/pull-request"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: PullRequestUnassignedAction
§assignee: User
§installation: Option<InstallationLite>
§number: i64
The pull request number.
organization: Option<Organization>
§pull_request: PullRequest
§repository: Repository
§sender: User
Implementations§
Source§impl PullRequestUnassigned
impl PullRequestUnassigned
pub fn builder() -> PullRequestUnassigned
Trait Implementations§
Source§impl Clone for PullRequestUnassigned
impl Clone for PullRequestUnassigned
Source§fn clone(&self) -> PullRequestUnassigned
fn clone(&self) -> PullRequestUnassigned
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 PullRequestUnassigned
impl Debug for PullRequestUnassigned
Source§impl<'de> Deserialize<'de> for PullRequestUnassigned
impl<'de> Deserialize<'de> for PullRequestUnassigned
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<&PullRequestUnassigned> for PullRequestUnassigned
impl From<&PullRequestUnassigned> for PullRequestUnassigned
Source§fn from(value: &PullRequestUnassigned) -> Self
fn from(value: &PullRequestUnassigned) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestUnassigned> for PullRequestEvent
impl From<PullRequestUnassigned> for PullRequestEvent
Source§fn from(value: PullRequestUnassigned) -> Self
fn from(value: PullRequestUnassigned) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestUnassigned> for PullRequestUnassigned
impl From<PullRequestUnassigned> for PullRequestUnassigned
Source§fn from(value: PullRequestUnassigned) -> Self
fn from(value: PullRequestUnassigned) -> Self
Converts to this type from the input type.
Source§impl Serialize for PullRequestUnassigned
impl Serialize for PullRequestUnassigned
Auto Trait Implementations§
impl Freeze for PullRequestUnassigned
impl RefUnwindSafe for PullRequestUnassigned
impl Send for PullRequestUnassigned
impl Sync for PullRequestUnassigned
impl Unpin for PullRequestUnassigned
impl UnwindSafe for PullRequestUnassigned
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