pub struct PullRequestReviewEdited {
pub action: PullRequestReviewEditedAction,
pub changes: PullRequestReviewEditedChanges,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub pull_request: SimplePullRequest,
pub repository: Repository,
pub review: PullRequestReview,
pub sender: User,
}
Expand description
PullRequestReviewEdited
JSON schema
{
"title": "pull_request_review edited event",
"type": "object",
"required": [
"action",
"changes",
"pull_request",
"repository",
"review",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"edited"
]
},
"changes": {
"type": "object",
"properties": {
"body": {
"type": "object",
"required": [
"from"
],
"properties": {
"from": {
"description": "The previous version of the body if the action was `edited`.",
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pull_request": {
"$ref": "#/definitions/simple-pull-request"
},
"repository": {
"$ref": "#/definitions/repository"
},
"review": {
"$ref": "#/definitions/pull-request-review"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: PullRequestReviewEditedAction
§changes: PullRequestReviewEditedChanges
§installation: Option<InstallationLite>
§organization: Option<Organization>
§pull_request: SimplePullRequest
§repository: Repository
§review: PullRequestReview
§sender: User
Implementations§
Source§impl PullRequestReviewEdited
impl PullRequestReviewEdited
pub fn builder() -> PullRequestReviewEdited
Trait Implementations§
Source§impl Clone for PullRequestReviewEdited
impl Clone for PullRequestReviewEdited
Source§fn clone(&self) -> PullRequestReviewEdited
fn clone(&self) -> PullRequestReviewEdited
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 PullRequestReviewEdited
impl Debug for PullRequestReviewEdited
Source§impl<'de> Deserialize<'de> for PullRequestReviewEdited
impl<'de> Deserialize<'de> for PullRequestReviewEdited
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<&PullRequestReviewEdited> for PullRequestReviewEdited
impl From<&PullRequestReviewEdited> for PullRequestReviewEdited
Source§fn from(value: &PullRequestReviewEdited) -> Self
fn from(value: &PullRequestReviewEdited) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewEdited> for PullRequestReviewEdited
impl From<PullRequestReviewEdited> for PullRequestReviewEdited
Source§fn from(value: PullRequestReviewEdited) -> Self
fn from(value: PullRequestReviewEdited) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewEdited> for PullRequestReviewEvent
impl From<PullRequestReviewEdited> for PullRequestReviewEvent
Source§fn from(value: PullRequestReviewEdited) -> Self
fn from(value: PullRequestReviewEdited) -> Self
Converts to this type from the input type.
Source§impl Serialize for PullRequestReviewEdited
impl Serialize for PullRequestReviewEdited
Auto Trait Implementations§
impl Freeze for PullRequestReviewEdited
impl RefUnwindSafe for PullRequestReviewEdited
impl Send for PullRequestReviewEdited
impl Sync for PullRequestReviewEdited
impl Unpin for PullRequestReviewEdited
impl UnwindSafe for PullRequestReviewEdited
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