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