rc/api2/admin/datastore/h2upload.rs: implement BackupEnvironment

To pass arbitrary information/state to api methods.
This commit is contained in:
Dietmar Maurer 2019-05-08 11:26:54 +02:00
parent 010e7b80a8
commit 66f849d272

View File

@ -4,7 +4,6 @@ use std::collections::HashMap;
use serde_json::Value;
/// Encapsulates information about the runtime environment
#[derive(Clone)]
pub struct RestEnvironment {
env_type: RpcEnvironmentType,
result_attributes: HashMap<String, Value>,