pub struct InitStep {
pub id: String,
pub uses: String,
pub with: InitParams,
pub retry: Option<u32>,
pub timeout: Option<Duration>,
pub on_failure: FailureAction,
}Expand description
Init action step
Fields§
§id: StringStep identifier
uses: StringAction to perform (e.g., “init.wait_tcp”)
with: InitParamsParameters for the action
retry: Option<u32>Number of retries
timeout: Option<Duration>Maximum time for this step
on_failure: FailureActionAction on failure
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InitStep
impl<'de> Deserialize<'de> for InitStep
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
impl Eq for InitStep
impl StructuralPartialEq for InitStep
Auto Trait Implementations§
impl Freeze for InitStep
impl RefUnwindSafe for InitStep
impl Send for InitStep
impl Sync for InitStep
impl Unpin for InitStep
impl UnsafeUnpin for InitStep
impl UnwindSafe for InitStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.