pub struct EnvironmentProtectionRulesInnerAnyOf1 {
pub id: i32,
pub node_id: String,
pub prevent_self_review: Option<bool>,
pub type: String,
pub reviewers: Option<Vec<PendingDeploymentReviewersInner>>,
}Fields§
§id: i32§node_id: String§prevent_self_review: Option<bool>Whether deployments to this environment can be approved by the user who created the deployment.
type: String§reviewers: Option<Vec<PendingDeploymentReviewersInner>>The people or teams that may approve 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.
Implementations§
Trait Implementations§
Source§impl Clone for EnvironmentProtectionRulesInnerAnyOf1
impl Clone for EnvironmentProtectionRulesInnerAnyOf1
Source§fn clone(&self) -> EnvironmentProtectionRulesInnerAnyOf1
fn clone(&self) -> EnvironmentProtectionRulesInnerAnyOf1
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 EnvironmentProtectionRulesInnerAnyOf1
impl Default for EnvironmentProtectionRulesInnerAnyOf1
Source§fn default() -> EnvironmentProtectionRulesInnerAnyOf1
fn default() -> EnvironmentProtectionRulesInnerAnyOf1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvironmentProtectionRulesInnerAnyOf1
impl<'de> Deserialize<'de> for EnvironmentProtectionRulesInnerAnyOf1
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 EnvironmentProtectionRulesInnerAnyOf1
impl PartialEq for EnvironmentProtectionRulesInnerAnyOf1
Source§fn eq(&self, other: &EnvironmentProtectionRulesInnerAnyOf1) -> bool
fn eq(&self, other: &EnvironmentProtectionRulesInnerAnyOf1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnvironmentProtectionRulesInnerAnyOf1
Auto Trait Implementations§
impl Freeze for EnvironmentProtectionRulesInnerAnyOf1
impl RefUnwindSafe for EnvironmentProtectionRulesInnerAnyOf1
impl Send for EnvironmentProtectionRulesInnerAnyOf1
impl Sync for EnvironmentProtectionRulesInnerAnyOf1
impl Unpin for EnvironmentProtectionRulesInnerAnyOf1
impl UnwindSafe for EnvironmentProtectionRulesInnerAnyOf1
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