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