pub struct PullRequestReadyForReview {
pub action: PullRequestReadyForReviewAction,
pub installation: Option<InstallationLite>,
pub number: i64,
pub organization: Option<Organization>,
pub pull_request: PullRequestReadyForReviewPullRequest,
pub repository: Repository,
pub sender: User,
}
Expand description
PullRequestReadyForReview
JSON schema
{
"title": "pull_request ready_for_review event",
"type": "object",
"required": [
"action",
"number",
"pull_request",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"ready_for_review"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"number": {
"description": "The pull request number.",
"type": "integer"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pull_request": {
"allOf": [
{
"$ref": "#/definitions/pull-request"
},
{
"type": "object",
"required": [
"closed_at",
"draft",
"merged",
"merged_at",
"merged_by",
"state"
],
"properties": {
"closed_at": {
"type": "null"
},
"draft": {
"description": "Indicates whether or not the pull request is a draft.",
"type": "boolean",
"enum": [
false
]
},
"merged": {
"type": "boolean"
},
"merged_at": {
"type": "null"
},
"merged_by": {
"type": "null"
},
"state": {
"type": "string",
"enum": [
"open"
]
}
},
"tsAdditionalProperties": false
}
]
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: PullRequestReadyForReviewAction
§installation: Option<InstallationLite>
§number: i64
The pull request number.
organization: Option<Organization>
§pull_request: PullRequestReadyForReviewPullRequest
§repository: Repository
§sender: User
Implementations§
Source§impl PullRequestReadyForReview
impl PullRequestReadyForReview
pub fn builder() -> PullRequestReadyForReview
Trait Implementations§
Source§impl Clone for PullRequestReadyForReview
impl Clone for PullRequestReadyForReview
Source§fn clone(&self) -> PullRequestReadyForReview
fn clone(&self) -> PullRequestReadyForReview
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 PullRequestReadyForReview
impl Debug for PullRequestReadyForReview
Source§impl<'de> Deserialize<'de> for PullRequestReadyForReview
impl<'de> Deserialize<'de> for PullRequestReadyForReview
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<&PullRequestReadyForReview> for PullRequestReadyForReview
impl From<&PullRequestReadyForReview> for PullRequestReadyForReview
Source§fn from(value: &PullRequestReadyForReview) -> Self
fn from(value: &PullRequestReadyForReview) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReadyForReview> for PullRequestEvent
impl From<PullRequestReadyForReview> for PullRequestEvent
Source§fn from(value: PullRequestReadyForReview) -> Self
fn from(value: PullRequestReadyForReview) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReadyForReview> for PullRequestReadyForReview
impl From<PullRequestReadyForReview> for PullRequestReadyForReview
Source§fn from(value: PullRequestReadyForReview) -> Self
fn from(value: PullRequestReadyForReview) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PullRequestReadyForReview
impl RefUnwindSafe for PullRequestReadyForReview
impl Send for PullRequestReadyForReview
impl Sync for PullRequestReadyForReview
impl Unpin for PullRequestReadyForReview
impl UnwindSafe for PullRequestReadyForReview
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