pub struct ReposCreateOrUpdateEnvironmentRequest {
pub wait_timer: Option<i32>,
pub prevent_self_review: Option<bool>,
pub reviewers: Option<Option<Vec<ReposCreateOrUpdateEnvironmentRequestReviewersInner>>>,
pub deployment_branch_policy: Option<Option<Box<DeploymentBranchPolicySettings>>>,
}
Fields§
§wait_timer: Option<i32>
The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).
prevent_self_review: Option<bool>
Whether or not a user who created the job is prevented from approving their own job.
reviewers: Option<Option<Vec<ReposCreateOrUpdateEnvironmentRequestReviewersInner>>>
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.
deployment_branch_policy: Option<Option<Box<DeploymentBranchPolicySettings>>>
Implementations§
Trait Implementations§
Source§impl Clone for ReposCreateOrUpdateEnvironmentRequest
impl Clone for ReposCreateOrUpdateEnvironmentRequest
Source§fn clone(&self) -> ReposCreateOrUpdateEnvironmentRequest
fn clone(&self) -> ReposCreateOrUpdateEnvironmentRequest
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 ReposCreateOrUpdateEnvironmentRequest
impl Default for ReposCreateOrUpdateEnvironmentRequest
Source§fn default() -> ReposCreateOrUpdateEnvironmentRequest
fn default() -> ReposCreateOrUpdateEnvironmentRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReposCreateOrUpdateEnvironmentRequest
impl<'de> Deserialize<'de> for ReposCreateOrUpdateEnvironmentRequest
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 ReposCreateOrUpdateEnvironmentRequest
impl PartialEq for ReposCreateOrUpdateEnvironmentRequest
Source§fn eq(&self, other: &ReposCreateOrUpdateEnvironmentRequest) -> bool
fn eq(&self, other: &ReposCreateOrUpdateEnvironmentRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReposCreateOrUpdateEnvironmentRequest
Auto Trait Implementations§
impl Freeze for ReposCreateOrUpdateEnvironmentRequest
impl RefUnwindSafe for ReposCreateOrUpdateEnvironmentRequest
impl Send for ReposCreateOrUpdateEnvironmentRequest
impl Sync for ReposCreateOrUpdateEnvironmentRequest
impl Unpin for ReposCreateOrUpdateEnvironmentRequest
impl UnwindSafe for ReposCreateOrUpdateEnvironmentRequest
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