pub struct DeploymentProtectionRule {
pub id: Option<i64>,
pub node_id: Option<String>,
pub enabled: Option<bool>,
pub app: Option<CustomDeploymentRuleApp>,
}Expand description
Deployment protection rule
Fields§
§id: Option<i64>The unique identifier for the deployment protection rule.
node_id: Option<String>The node ID for the deployment protection rule.
enabled: Option<bool>Whether the deployment protection rule is enabled for the environment.
app: Option<CustomDeploymentRuleApp>Trait Implementations§
Source§impl Clone for DeploymentProtectionRule
impl Clone for DeploymentProtectionRule
Source§fn clone(&self) -> DeploymentProtectionRule
fn clone(&self) -> DeploymentProtectionRule
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 Debug for DeploymentProtectionRule
impl Debug for DeploymentProtectionRule
Source§impl Default for DeploymentProtectionRule
impl Default for DeploymentProtectionRule
Source§fn default() -> DeploymentProtectionRule
fn default() -> DeploymentProtectionRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentProtectionRule
impl<'de> Deserialize<'de> for DeploymentProtectionRule
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 DeploymentProtectionRule
impl PartialEq for DeploymentProtectionRule
Source§impl Serialize for DeploymentProtectionRule
impl Serialize for DeploymentProtectionRule
impl StructuralPartialEq for DeploymentProtectionRule
Auto Trait Implementations§
impl Freeze for DeploymentProtectionRule
impl RefUnwindSafe for DeploymentProtectionRule
impl Send for DeploymentProtectionRule
impl Sync for DeploymentProtectionRule
impl Unpin for DeploymentProtectionRule
impl UnwindSafe for DeploymentProtectionRule
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