chore: add datastores_ids to declare what is going to be used in each task

This commit is contained in:
Jesús Pérez Lorenzo 2021-09-20 12:40:02 +01:00
parent e21ea51854
commit ce9f07f6f9

View File

@ -56,6 +56,7 @@ pub struct WebServer {
pub password_rules: String,
pub mapped_url_prefix: String,
pub admin_key: String,
pub datastores_ids: Vec<String>,
}
impl WebServer {
#[must_use]
@ -134,6 +135,7 @@ pub struct SchedTask {
pub store: SchedTaskStore,
pub schedule: String,
pub on_start: bool,
pub datastores_ids: Vec<String>,
}
#[derive(Clone, Debug, Deserialize, Default)]