pub struct DeploymentProtectionRuleRequestedEvent<'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>>
Trait Implementations§
source§impl<'a> Debug for DeploymentProtectionRuleRequestedEvent<'a>
impl<'a> Debug for DeploymentProtectionRuleRequestedEvent<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for DeploymentProtectionRuleRequestedEvent<'a>
impl<'de: 'a, 'a> Deserialize<'de> for DeploymentProtectionRuleRequestedEvent<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DeploymentProtectionRuleRequestedEvent<'a>
impl<'a> Send for DeploymentProtectionRuleRequestedEvent<'a>
impl<'a> Sync for DeploymentProtectionRuleRequestedEvent<'a>
impl<'a> Unpin for DeploymentProtectionRuleRequestedEvent<'a>
impl<'a> UnwindSafe for DeploymentProtectionRuleRequestedEvent<'a>
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