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§
source§impl Clone for ReposCreateUpdateEnvironmentRequest
impl Clone for ReposCreateUpdateEnvironmentRequest
source§fn clone(&self) -> ReposCreateUpdateEnvironmentRequest
fn clone(&self) -> ReposCreateUpdateEnvironmentRequest
Returns a copy 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<'de> Deserialize<'de> for ReposCreateUpdateEnvironmentRequest
impl<'de> Deserialize<'de> for ReposCreateUpdateEnvironmentRequest
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 JsonSchema for ReposCreateUpdateEnvironmentRequest
impl JsonSchema for ReposCreateUpdateEnvironmentRequest
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<ReposCreateUpdateEnvironmentRequest> for ReposCreateUpdateEnvironmentRequest
impl PartialEq<ReposCreateUpdateEnvironmentRequest> for ReposCreateUpdateEnvironmentRequest
source§fn eq(&self, other: &ReposCreateUpdateEnvironmentRequest) -> bool
fn eq(&self, other: &ReposCreateUpdateEnvironmentRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReposCreateUpdateEnvironmentRequest
Auto Trait Implementations§
impl RefUnwindSafe for ReposCreateUpdateEnvironmentRequest
impl Send for ReposCreateUpdateEnvironmentRequest
impl Sync for ReposCreateUpdateEnvironmentRequest
impl Unpin for ReposCreateUpdateEnvironmentRequest
impl UnwindSafe for ReposCreateUpdateEnvironmentRequest
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