pub struct RepositoryRuleRequiredDeploymentsParameters {
pub required_deployment_environments: Vec<String>,
}
Fields§
§required_deployment_environments: Vec<String>
The environments that must be successfully deployed to before branches can be merged.
Implementations§
Source§impl RepositoryRuleRequiredDeploymentsParameters
impl RepositoryRuleRequiredDeploymentsParameters
pub fn new( required_deployment_environments: Vec<String>, ) -> RepositoryRuleRequiredDeploymentsParameters
Trait Implementations§
Source§impl Clone for RepositoryRuleRequiredDeploymentsParameters
impl Clone for RepositoryRuleRequiredDeploymentsParameters
Source§fn clone(&self) -> RepositoryRuleRequiredDeploymentsParameters
fn clone(&self) -> RepositoryRuleRequiredDeploymentsParameters
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 RepositoryRuleRequiredDeploymentsParameters
impl Default for RepositoryRuleRequiredDeploymentsParameters
Source§fn default() -> RepositoryRuleRequiredDeploymentsParameters
fn default() -> RepositoryRuleRequiredDeploymentsParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleRequiredDeploymentsParameters
impl<'de> Deserialize<'de> for RepositoryRuleRequiredDeploymentsParameters
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 RepositoryRuleRequiredDeploymentsParameters
impl PartialEq for RepositoryRuleRequiredDeploymentsParameters
Source§fn eq(&self, other: &RepositoryRuleRequiredDeploymentsParameters) -> bool
fn eq(&self, other: &RepositoryRuleRequiredDeploymentsParameters) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryRuleRequiredDeploymentsParameters
Auto Trait Implementations§
impl Freeze for RepositoryRuleRequiredDeploymentsParameters
impl RefUnwindSafe for RepositoryRuleRequiredDeploymentsParameters
impl Send for RepositoryRuleRequiredDeploymentsParameters
impl Sync for RepositoryRuleRequiredDeploymentsParameters
impl Unpin for RepositoryRuleRequiredDeploymentsParameters
impl UnwindSafe for RepositoryRuleRequiredDeploymentsParameters
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