pub struct WebhookDeploymentProtectionRuleRequested {
pub action: Option<Action>,
pub environment: Option<String>,
pub event: Option<String>,
pub deployment_callback_url: Option<String>,
pub deployment: Option<Box<Deployment>>,
pub pull_requests: Option<Vec<PullRequest>>,
pub repository: Option<Box<RepositoryWebhooks>>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub sender: Option<Box<SimpleUserWebhooks>>,
}
Fields§
§action: Option<Action>
§environment: Option<String>
The name of the environment that has the deployment protection rule.
event: Option<String>
The event that triggered the deployment protection rule.
deployment_callback_url: Option<String>
The URL to review the deployment protection rule.
deployment: Option<Box<Deployment>>
§pull_requests: Option<Vec<PullRequest>>
§repository: Option<Box<RepositoryWebhooks>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§sender: Option<Box<SimpleUserWebhooks>>
Implementations§
Trait Implementations§
Source§impl Clone for WebhookDeploymentProtectionRuleRequested
impl Clone for WebhookDeploymentProtectionRuleRequested
Source§fn clone(&self) -> WebhookDeploymentProtectionRuleRequested
fn clone(&self) -> WebhookDeploymentProtectionRuleRequested
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 WebhookDeploymentProtectionRuleRequested
impl Default for WebhookDeploymentProtectionRuleRequested
Source§fn default() -> WebhookDeploymentProtectionRuleRequested
fn default() -> WebhookDeploymentProtectionRuleRequested
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookDeploymentProtectionRuleRequested
impl<'de> Deserialize<'de> for WebhookDeploymentProtectionRuleRequested
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 WebhookDeploymentProtectionRuleRequested
impl PartialEq for WebhookDeploymentProtectionRuleRequested
Source§fn eq(&self, other: &WebhookDeploymentProtectionRuleRequested) -> bool
fn eq(&self, other: &WebhookDeploymentProtectionRuleRequested) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookDeploymentProtectionRuleRequested
Auto Trait Implementations§
impl Freeze for WebhookDeploymentProtectionRuleRequested
impl RefUnwindSafe for WebhookDeploymentProtectionRuleRequested
impl Send for WebhookDeploymentProtectionRuleRequested
impl Sync for WebhookDeploymentProtectionRuleRequested
impl Unpin for WebhookDeploymentProtectionRuleRequested
impl UnwindSafe for WebhookDeploymentProtectionRuleRequested
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