vaultrs/api/kv1/
responses.rsuse serde::{Deserialize, Serialize};
use serde_json::Value;
#[derive(Deserialize, Debug, Serialize)]
pub struct GetSecretResponse {
pub data: Value,
pub auth: Option<String>,
pub lease_duration: i32,
pub lease_id: String,
pub renewable: bool,
pub request_id: String,
}
#[derive(Deserialize, Debug, Serialize)]
pub struct ListSecretResponse {
pub data: ListSecretResponseKeys,
pub auth: Option<String>,
pub lease_duration: i32,
pub lease_id: String,
pub renewable: bool,
}
#[derive(Deserialize, Debug, Serialize)]
pub struct ListSecretResponseKeys {
pub keys: Vec<String>,
}