pub struct DeploymentTriggerPolicy {
pub image_change_params: Option<DeploymentTriggerImageChangeParams>,
pub type_: Option<String>,
}
Expand description
DeploymentTriggerPolicy describes a policy for a single trigger that results in a new deployment.
Fields§
§image_change_params: Option<DeploymentTriggerImageChangeParams>
ImageChangeParams represents the parameters for the ImageChange trigger.
type_: Option<String>
Type of the trigger
Trait Implementations§
Source§impl Clone for DeploymentTriggerPolicy
impl Clone for DeploymentTriggerPolicy
Source§fn clone(&self) -> DeploymentTriggerPolicy
fn clone(&self) -> DeploymentTriggerPolicy
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 DeploymentTriggerPolicy
impl Debug for DeploymentTriggerPolicy
Source§impl Default for DeploymentTriggerPolicy
impl Default for DeploymentTriggerPolicy
Source§fn default() -> DeploymentTriggerPolicy
fn default() -> DeploymentTriggerPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentTriggerPolicy
impl<'de> Deserialize<'de> for DeploymentTriggerPolicy
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 DeploymentTriggerPolicy
impl PartialEq for DeploymentTriggerPolicy
Source§impl Serialize for DeploymentTriggerPolicy
impl Serialize for DeploymentTriggerPolicy
impl StructuralPartialEq for DeploymentTriggerPolicy
Auto Trait Implementations§
impl Freeze for DeploymentTriggerPolicy
impl RefUnwindSafe for DeploymentTriggerPolicy
impl Send for DeploymentTriggerPolicy
impl Sync for DeploymentTriggerPolicy
impl Unpin for DeploymentTriggerPolicy
impl UnwindSafe for DeploymentTriggerPolicy
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