pub struct StepConfig {
pub name: String,
pub agent: Option<String>,
pub crew: Option<Vec<String>>,
pub task: String,
pub timeout: Option<Duration>,
pub parallel: bool,
pub depends_on: Vec<String>,
pub retry: Option<RetryConfig>,
}
Fields§
§name: String
§agent: Option<String>
§crew: Option<Vec<String>>
§task: String
§timeout: Option<Duration>
§parallel: bool
§depends_on: Vec<String>
§retry: Option<RetryConfig>
Trait Implementations§
Source§impl Clone for StepConfig
impl Clone for StepConfig
Source§fn clone(&self) -> StepConfig
fn clone(&self) -> StepConfig
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 StepConfig
impl Debug for StepConfig
Source§impl<'de> Deserialize<'de> for StepConfig
impl<'de> Deserialize<'de> for StepConfig
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 StepConfig
impl RefUnwindSafe for StepConfig
impl Send for StepConfig
impl Sync for StepConfig
impl Unpin for StepConfig
impl UnwindSafe for StepConfig
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