Type Alias github_webhook::payload_types::DeploymentProtectionRuleEvent
source · pub type DeploymentProtectionRuleEvent<'a> = DeploymentProtectionRuleRequestedEvent<'a>;Aliased Type§
struct DeploymentProtectionRuleEvent<'a> {
pub environment: Option<&'a str>,
pub event: Option<&'a str>,
pub deployment_callback_url: Option<&'a str>,
pub deployment: Option<Deployment<'a>>,
pub pull_requests: Option<Vec<PullRequest<'a>>>,
pub repository: Repository<'a>,
pub sender: User<'a>,
pub installation: Option<InstallationLite<'a>>,
pub organization: Option<Organization<'a>>,
}Fields§
§environment: Option<&'a str>The name of the environment that has the deployment protection rule.
event: Option<&'a str>The event that triggered the deployment protection rule.
deployment_callback_url: Option<&'a str>The URL to review the deployment protection rule.
deployment: Option<Deployment<'a>>§pull_requests: Option<Vec<PullRequest<'a>>>§repository: Repository<'a>§sender: User<'a>§installation: Option<InstallationLite<'a>>§organization: Option<Organization<'a>>