pub struct WebhookPullRequestReviewSubmitted {
pub action: Action,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub pull_request: Box<SimplePullRequest2>,
pub repository: Box<RepositoryWebhooks>,
pub review: Box<WebhooksReview>,
pub sender: Box<SimpleUserWebhooks>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§pull_request: Box<SimplePullRequest2>
§repository: Box<RepositoryWebhooks>
§review: Box<WebhooksReview>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookPullRequestReviewSubmitted
impl WebhookPullRequestReviewSubmitted
pub fn new( action: Action, pull_request: SimplePullRequest2, repository: RepositoryWebhooks, review: WebhooksReview, sender: SimpleUserWebhooks, ) -> WebhookPullRequestReviewSubmitted
Trait Implementations§
Source§impl Clone for WebhookPullRequestReviewSubmitted
impl Clone for WebhookPullRequestReviewSubmitted
Source§fn clone(&self) -> WebhookPullRequestReviewSubmitted
fn clone(&self) -> WebhookPullRequestReviewSubmitted
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 Default for WebhookPullRequestReviewSubmitted
impl Default for WebhookPullRequestReviewSubmitted
Source§fn default() -> WebhookPullRequestReviewSubmitted
fn default() -> WebhookPullRequestReviewSubmitted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookPullRequestReviewSubmitted
impl<'de> Deserialize<'de> for WebhookPullRequestReviewSubmitted
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 PartialEq for WebhookPullRequestReviewSubmitted
impl PartialEq for WebhookPullRequestReviewSubmitted
Source§fn eq(&self, other: &WebhookPullRequestReviewSubmitted) -> bool
fn eq(&self, other: &WebhookPullRequestReviewSubmitted) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookPullRequestReviewSubmitted
Auto Trait Implementations§
impl Freeze for WebhookPullRequestReviewSubmitted
impl RefUnwindSafe for WebhookPullRequestReviewSubmitted
impl Send for WebhookPullRequestReviewSubmitted
impl Sync for WebhookPullRequestReviewSubmitted
impl Unpin for WebhookPullRequestReviewSubmitted
impl UnwindSafe for WebhookPullRequestReviewSubmitted
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