pub struct IoArgoprojWorkflowV1alpha1Parameter {
pub default: Option<String>,
pub description: Option<String>,
pub enum_: Vec<String>,
pub global_name: Option<String>,
pub name: String,
pub value: Option<String>,
pub value_from: Option<IoArgoprojWorkflowV1alpha1ValueFrom>,
}Expand description
Parameter indicate a passed string parameter to a service template with an optional default value
Fields§
§default: Option<String>Default is the default value to use for an input parameter if a value was not supplied
description: Option<String>Description is the parameter description
enum_: Vec<String>Enum holds a list of string values to choose from, for the actual value of the parameter
global_name: Option<String>GlobalName exports an output parameter to the global scope, making it available as ’{{io.argoproj.workflow.v1alpha1.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters
name: StringName is the parameter name
value: Option<String>Value is the literal value to use for the parameter. If specified in the context of an input parameter, the value takes precedence over any passed values
value_from: Option<IoArgoprojWorkflowV1alpha1ValueFrom>ValueFrom is the source for the output parameter’s value
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1Parameter
impl Clone for IoArgoprojWorkflowV1alpha1Parameter
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1Parameter
fn clone(&self) -> IoArgoprojWorkflowV1alpha1Parameter
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 IoArgoprojWorkflowV1alpha1Parameter
impl Default for IoArgoprojWorkflowV1alpha1Parameter
Source§fn default() -> IoArgoprojWorkflowV1alpha1Parameter
fn default() -> IoArgoprojWorkflowV1alpha1Parameter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1Parameter
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1Parameter
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 From<&IoArgoprojWorkflowV1alpha1Parameter> for IoArgoprojWorkflowV1alpha1Parameter
impl From<&IoArgoprojWorkflowV1alpha1Parameter> for IoArgoprojWorkflowV1alpha1Parameter
Source§fn from(value: &IoArgoprojWorkflowV1alpha1Parameter) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1Parameter) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1Parameter
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1Parameter
impl Send for IoArgoprojWorkflowV1alpha1Parameter
impl Sync for IoArgoprojWorkflowV1alpha1Parameter
impl Unpin for IoArgoprojWorkflowV1alpha1Parameter
impl UnwindSafe for IoArgoprojWorkflowV1alpha1Parameter
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