pub struct PlanConfig {
pub name: String,
pub steps: Vec<StepConfig>,
}Expand description
Configuration for a plan, as loaded from TOML
Fields§
§name: String§steps: Vec<StepConfig>Trait Implementations§
Source§impl Clone for PlanConfig
impl Clone for PlanConfig
Source§fn clone(&self) -> PlanConfig
fn clone(&self) -> PlanConfig
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 PlanConfig
impl Debug for PlanConfig
Source§impl<'de> Deserialize<'de> for PlanConfig
impl<'de> Deserialize<'de> for PlanConfig
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<PlanConfig> for Plan
impl From<PlanConfig> for Plan
Source§fn from(config: PlanConfig) -> Self
fn from(config: PlanConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PlanConfig
impl RefUnwindSafe for PlanConfig
impl Send for PlanConfig
impl Sync for PlanConfig
impl Unpin for PlanConfig
impl UnwindSafe for PlanConfig
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