pub struct WebhookPullRequestOpened {
pub action: Action,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub number: i32,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub pull_request: Box<PullRequestWebhook>,
pub repository: Box<RepositoryWebhooks>,
pub sender: Box<SimpleUserWebhooks>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§number: i32
The pull request number.
organization: Option<Box<OrganizationSimpleWebhooks>>
§pull_request: Box<PullRequestWebhook>
§repository: Box<RepositoryWebhooks>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookPullRequestOpened
impl WebhookPullRequestOpened
pub fn new( action: Action, number: i32, pull_request: PullRequestWebhook, repository: RepositoryWebhooks, sender: SimpleUserWebhooks, ) -> WebhookPullRequestOpened
Trait Implementations§
Source§impl Clone for WebhookPullRequestOpened
impl Clone for WebhookPullRequestOpened
Source§fn clone(&self) -> WebhookPullRequestOpened
fn clone(&self) -> WebhookPullRequestOpened
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 WebhookPullRequestOpened
impl Debug for WebhookPullRequestOpened
Source§impl Default for WebhookPullRequestOpened
impl Default for WebhookPullRequestOpened
Source§fn default() -> WebhookPullRequestOpened
fn default() -> WebhookPullRequestOpened
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookPullRequestOpened
impl<'de> Deserialize<'de> for WebhookPullRequestOpened
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 WebhookPullRequestOpened
impl PartialEq for WebhookPullRequestOpened
Source§impl Serialize for WebhookPullRequestOpened
impl Serialize for WebhookPullRequestOpened
impl StructuralPartialEq for WebhookPullRequestOpened
Auto Trait Implementations§
impl Freeze for WebhookPullRequestOpened
impl RefUnwindSafe for WebhookPullRequestOpened
impl Send for WebhookPullRequestOpened
impl Sync for WebhookPullRequestOpened
impl Unpin for WebhookPullRequestOpened
impl UnwindSafe for WebhookPullRequestOpened
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