pub struct PullRequestReviewSubmitted {
pub action: PullRequestReviewSubmittedAction,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub pull_request: SimplePullRequest,
pub repository: Repository,
pub review: PullRequestReview,
pub sender: User,
}
Expand description
PullRequestReviewSubmitted
JSON schema
{
"title": "pull_request_review submitted event",
"type": "object",
"required": [
"action",
"pull_request",
"repository",
"review",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"submitted"
]
},
"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: PullRequestReviewSubmittedAction
§installation: Option<InstallationLite>
§organization: Option<Organization>
§pull_request: SimplePullRequest
§repository: Repository
§review: PullRequestReview
§sender: User
Implementations§
Source§impl PullRequestReviewSubmitted
impl PullRequestReviewSubmitted
pub fn builder() -> PullRequestReviewSubmitted
Trait Implementations§
Source§impl Clone for PullRequestReviewSubmitted
impl Clone for PullRequestReviewSubmitted
Source§fn clone(&self) -> PullRequestReviewSubmitted
fn clone(&self) -> PullRequestReviewSubmitted
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 PullRequestReviewSubmitted
impl Debug for PullRequestReviewSubmitted
Source§impl<'de> Deserialize<'de> for PullRequestReviewSubmitted
impl<'de> Deserialize<'de> for PullRequestReviewSubmitted
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<&PullRequestReviewSubmitted> for PullRequestReviewSubmitted
impl From<&PullRequestReviewSubmitted> for PullRequestReviewSubmitted
Source§fn from(value: &PullRequestReviewSubmitted) -> Self
fn from(value: &PullRequestReviewSubmitted) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewSubmitted> for PullRequestReviewEvent
impl From<PullRequestReviewSubmitted> for PullRequestReviewEvent
Source§fn from(value: PullRequestReviewSubmitted) -> Self
fn from(value: PullRequestReviewSubmitted) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewSubmitted> for PullRequestReviewSubmitted
impl From<PullRequestReviewSubmitted> for PullRequestReviewSubmitted
Source§fn from(value: PullRequestReviewSubmitted) -> Self
fn from(value: PullRequestReviewSubmitted) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PullRequestReviewSubmitted
impl RefUnwindSafe for PullRequestReviewSubmitted
impl Send for PullRequestReviewSubmitted
impl Sync for PullRequestReviewSubmitted
impl Unpin for PullRequestReviewSubmitted
impl UnwindSafe for PullRequestReviewSubmitted
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