1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use myrmidon_types::{Command, TaskStatus}; use serde::Serialize; mod actions; mod getters; mod init; mod setters; #[derive(Clone, Debug)] #[derive(Serialize)] pub struct Task{ id: String, name: String, status: TaskStatus, commands: Vec<Command>, }