pub struct IoArgoprojWorkflowV1alpha1SuspendTemplate {
pub duration: Option<String>,
}Expand description
SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time
Fields§
§duration: Option<String>Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. Could also be a Duration, e.g.: “2m”, “6h”
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1SuspendTemplate
impl Clone for IoArgoprojWorkflowV1alpha1SuspendTemplate
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1SuspendTemplate
fn clone(&self) -> IoArgoprojWorkflowV1alpha1SuspendTemplate
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 IoArgoprojWorkflowV1alpha1SuspendTemplate
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1SuspendTemplate
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<&IoArgoprojWorkflowV1alpha1SuspendTemplate> for IoArgoprojWorkflowV1alpha1SuspendTemplate
impl From<&IoArgoprojWorkflowV1alpha1SuspendTemplate> for IoArgoprojWorkflowV1alpha1SuspendTemplate
Source§fn from(value: &IoArgoprojWorkflowV1alpha1SuspendTemplate) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1SuspendTemplate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1SuspendTemplate
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1SuspendTemplate
impl Send for IoArgoprojWorkflowV1alpha1SuspendTemplate
impl Sync for IoArgoprojWorkflowV1alpha1SuspendTemplate
impl Unpin for IoArgoprojWorkflowV1alpha1SuspendTemplate
impl UnwindSafe for IoArgoprojWorkflowV1alpha1SuspendTemplate
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