pub struct RepositoryRuleRequiredDeployments {
pub type: Type,
pub parameters: Option<Box<RepositoryRuleRequiredDeploymentsParameters>>,
}
Expand description
RepositoryRuleRequiredDeployments : Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
Fields§
§type: Type
§parameters: Option<Box<RepositoryRuleRequiredDeploymentsParameters>>
Implementations§
Source§impl RepositoryRuleRequiredDeployments
impl RepositoryRuleRequiredDeployments
Sourcepub fn new(type: Type) -> RepositoryRuleRequiredDeployments
pub fn new(type: Type) -> RepositoryRuleRequiredDeployments
Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
Trait Implementations§
Source§impl Clone for RepositoryRuleRequiredDeployments
impl Clone for RepositoryRuleRequiredDeployments
Source§fn clone(&self) -> RepositoryRuleRequiredDeployments
fn clone(&self) -> RepositoryRuleRequiredDeployments
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 RepositoryRuleRequiredDeployments
impl Default for RepositoryRuleRequiredDeployments
Source§fn default() -> RepositoryRuleRequiredDeployments
fn default() -> RepositoryRuleRequiredDeployments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleRequiredDeployments
impl<'de> Deserialize<'de> for RepositoryRuleRequiredDeployments
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 RepositoryRuleRequiredDeployments
impl PartialEq for RepositoryRuleRequiredDeployments
Source§fn eq(&self, other: &RepositoryRuleRequiredDeployments) -> bool
fn eq(&self, other: &RepositoryRuleRequiredDeployments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryRuleRequiredDeployments
Auto Trait Implementations§
impl Freeze for RepositoryRuleRequiredDeployments
impl RefUnwindSafe for RepositoryRuleRequiredDeployments
impl Send for RepositoryRuleRequiredDeployments
impl Sync for RepositoryRuleRequiredDeployments
impl Unpin for RepositoryRuleRequiredDeployments
impl UnwindSafe for RepositoryRuleRequiredDeployments
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