mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-25 01:34:58 +00:00
rc/api2/admin/datastore/h2upload.rs: implement BackupEnvironment
To pass arbitrary information/state to api methods.
This commit is contained in:
parent
010e7b80a8
commit
66f849d272
@ -4,7 +4,6 @@ use std::collections::HashMap;
|
|||||||
use serde_json::Value;
|
use serde_json::Value;
|
||||||
|
|
||||||
/// Encapsulates information about the runtime environment
|
/// Encapsulates information about the runtime environment
|
||||||
#[derive(Clone)]
|
|
||||||
pub struct RestEnvironment {
|
pub struct RestEnvironment {
|
||||||
env_type: RpcEnvironmentType,
|
env_type: RpcEnvironmentType,
|
||||||
result_attributes: HashMap<String, Value>,
|
result_attributes: HashMap<String, Value>,
|
||||||
|
Loading…
Reference in New Issue
Block a user