pub enum WaitDefinition {
Duration {
seconds: u64,
},
Until {
timestamp: String,
},
Event {
event: EventFilter,
},
}
Expand description
Wait step definition
Variants§
Duration
Wait for duration
Until
Wait until specific time
Event
Wait for event
Fields
§
event: EventFilter
Event to wait for
Trait Implementations§
Source§impl Clone for WaitDefinition
impl Clone for WaitDefinition
Source§fn clone(&self) -> WaitDefinition
fn clone(&self) -> WaitDefinition
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 WaitDefinition
impl Debug for WaitDefinition
Source§impl<'de> Deserialize<'de> for WaitDefinition
impl<'de> Deserialize<'de> for WaitDefinition
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
Auto Trait Implementations§
impl Freeze for WaitDefinition
impl RefUnwindSafe for WaitDefinition
impl Send for WaitDefinition
impl Sync for WaitDefinition
impl Unpin for WaitDefinition
impl UnwindSafe for WaitDefinition
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