pub struct WaitTaskDefinition {
pub wait: OneOfDurationOrIso8601Expression,
pub common: TaskDefinitionFields,
}Expand description
Represents the definition of a task used to wait a certain amount of time
Fields§
§wait: OneOfDurationOrIso8601ExpressionGets/sets the amount of time to wait before resuming workflow
common: TaskDefinitionFieldsGets/sets the task’s common fields
Implementations§
Source§impl WaitTaskDefinition
impl WaitTaskDefinition
Sourcepub fn new(wait: OneOfDurationOrIso8601Expression) -> Self
pub fn new(wait: OneOfDurationOrIso8601Expression) -> Self
Initializes a new WaitTaskDefinition
Trait Implementations§
Source§impl Clone for WaitTaskDefinition
impl Clone for WaitTaskDefinition
Source§fn clone(&self) -> WaitTaskDefinition
fn clone(&self) -> WaitTaskDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WaitTaskDefinition
impl Debug for WaitTaskDefinition
Source§impl Default for WaitTaskDefinition
impl Default for WaitTaskDefinition
Source§fn default() -> WaitTaskDefinition
fn default() -> WaitTaskDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WaitTaskDefinition
impl<'de> Deserialize<'de> for WaitTaskDefinition
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 WaitTaskDefinition
impl PartialEq for WaitTaskDefinition
Source§fn eq(&self, other: &WaitTaskDefinition) -> bool
fn eq(&self, other: &WaitTaskDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WaitTaskDefinition
impl Serialize for WaitTaskDefinition
impl StructuralPartialEq for WaitTaskDefinition
Auto Trait Implementations§
impl Freeze for WaitTaskDefinition
impl RefUnwindSafe for WaitTaskDefinition
impl Send for WaitTaskDefinition
impl Sync for WaitTaskDefinition
impl Unpin for WaitTaskDefinition
impl UnsafeUnpin for WaitTaskDefinition
impl UnwindSafe for WaitTaskDefinition
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