Struct octorust::types::ReposCreateUpdateEnvironmentRequest [−][src]
pub struct ReposCreateUpdateEnvironmentRequest { pub deployment_branch_policy: Option<DeploymentBranchPolicy>, pub reviewers: Vec<ReposCreateUpdateEnvironmentRequestReviewers>, pub wait_timer: i64, }
Fields
deployment_branch_policy: Option<DeploymentBranchPolicy>
The type of deployment branch policy for this environment. To allow all branches to deploy, set to null
.
reviewers: Vec<ReposCreateUpdateEnvironmentRequestReviewers>
The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.
wait_timer: i64
Trait Implementations
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 Send for ReposCreateUpdateEnvironmentRequest
impl Sync for ReposCreateUpdateEnvironmentRequest
impl Unpin for ReposCreateUpdateEnvironmentRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more