pub struct StepConfig {
pub name: String,
pub function: Option<String>,
pub inputs: Vec<String>,
pub timeout: Option<u64>,
}Expand description
Configuration for a step in a plan, as loaded from TOML
Fields§
§name: String§function: Option<String>§inputs: Vec<String>§timeout: Option<u64>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
Source§impl From<StepConfig> for Step
impl From<StepConfig> for Step
Source§fn from(config: StepConfig) -> Self
fn from(config: StepConfig) -> Self
Converts to this type from the input type.
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