pub struct DeployPolicyResourceSelector {
pub delivery_pipeline: Option<DeliveryPipelineAttribute>,
pub target: Option<TargetAttribute>,
}Expand description
Contains information on the resources to select for a deploy policy. Attributes provided must all match the resource in order for policy restrictions to apply. For example, if delivery pipelines attributes given are an id “prod” and labels “foo: bar”, a delivery pipeline resource must match both that id and have that label in order to be subject to the policy.
This type is not used in any activity, and only used as part of another schema.
Fields§
§delivery_pipeline: Option<DeliveryPipelineAttribute>Optional. Contains attributes about a delivery pipeline.
target: Option<TargetAttribute>Optional. Contains attributes about a target.
Trait Implementations§
Source§impl Clone for DeployPolicyResourceSelector
impl Clone for DeployPolicyResourceSelector
Source§fn clone(&self) -> DeployPolicyResourceSelector
fn clone(&self) -> DeployPolicyResourceSelector
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 DeployPolicyResourceSelector
impl Debug for DeployPolicyResourceSelector
Source§impl Default for DeployPolicyResourceSelector
impl Default for DeployPolicyResourceSelector
Source§fn default() -> DeployPolicyResourceSelector
fn default() -> DeployPolicyResourceSelector
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeployPolicyResourceSelector
impl<'de> Deserialize<'de> for DeployPolicyResourceSelector
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
impl Part for DeployPolicyResourceSelector
Auto Trait Implementations§
impl Freeze for DeployPolicyResourceSelector
impl RefUnwindSafe for DeployPolicyResourceSelector
impl Send for DeployPolicyResourceSelector
impl Sync for DeployPolicyResourceSelector
impl Unpin for DeployPolicyResourceSelector
impl UnwindSafe for DeployPolicyResourceSelector
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