1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct VaultSchemaV1<T> {
    pub request_id: String,
    pub lease_id: String,
    pub renewable: bool,
    pub lease_duration: u32,
    pub data: T,
    pub wrap_info: Option<String>,
    pub warnings: Option<String>,
    pub auth: Option<String>,
}