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