pub struct IoArgoprojWorkflowV1alpha1TemplateRef {
pub cluster_scope: Option<bool>,
pub name: Option<String>,
pub template: Option<String>,
}Expand description
TemplateRef is a reference of template resource.
Fields§
§cluster_scope: Option<bool>ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate).
name: Option<String>Name is the resource name of the template.
template: Option<String>Template is the name of referred template in the resource.
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1TemplateRef
impl Clone for IoArgoprojWorkflowV1alpha1TemplateRef
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1TemplateRef
fn clone(&self) -> IoArgoprojWorkflowV1alpha1TemplateRef
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<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1TemplateRef
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1TemplateRef
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<&IoArgoprojWorkflowV1alpha1TemplateRef> for IoArgoprojWorkflowV1alpha1TemplateRef
impl From<&IoArgoprojWorkflowV1alpha1TemplateRef> for IoArgoprojWorkflowV1alpha1TemplateRef
Source§fn from(value: &IoArgoprojWorkflowV1alpha1TemplateRef) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1TemplateRef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1TemplateRef
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1TemplateRef
impl Send for IoArgoprojWorkflowV1alpha1TemplateRef
impl Sync for IoArgoprojWorkflowV1alpha1TemplateRef
impl Unpin for IoArgoprojWorkflowV1alpha1TemplateRef
impl UnwindSafe for IoArgoprojWorkflowV1alpha1TemplateRef
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