pub enum ActionId {
Show 18 variants
Set(LinkedHashMap<String, VariableInfo>),
Scope(Vec<ActionId>),
Actions(Vec<ActionId>),
Render(RenderAction),
ForEach(ForEachAction),
For(ForAction),
Loop(Vec<ActionId>),
Break,
If(IfAction),
Rules(Vec<RuleType>),
Exec(ExecAction),
LogTrace(String),
LogDebug(String),
LogInfo(String),
LogWarn(String),
LogError(String),
Print(String),
Display(String),
}Variants§
Set(LinkedHashMap<String, VariableInfo>)
Scope(Vec<ActionId>)
Actions(Vec<ActionId>)
Render(RenderAction)
ForEach(ForEachAction)
For(ForAction)
Loop(Vec<ActionId>)
Break
If(IfAction)
Rules(Vec<RuleType>)
Exec(ExecAction)
LogTrace(String)
LogDebug(String)
LogInfo(String)
LogWarn(String)
LogError(String)
Print(String)
Display(String)
Implementations§
Source§impl ActionId
impl ActionId
pub fn execute<D: AsRef<Path>>( &self, archetect: &mut Archetect, archetype: &Archetype, destination: D, rules_context: &mut RulesContext, answers: &LinkedHashMap<String, AnswerInfo>, context: &mut Context, ) -> Result<(), ArchetectError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActionId
impl<'de> Deserialize<'de> for ActionId
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 ActionId
impl RefUnwindSafe for ActionId
impl Send for ActionId
impl Sync for ActionId
impl Unpin for ActionId
impl UnwindSafe for ActionId
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