whisky_provider/maestro/models/script.rs
1use super::*;
2use serde::Deserialize;
3use serde::Serialize;
4
5#[derive(Serialize, Deserialize, Debug, Clone)]
6pub struct Script {
7 pub bytes: String,
8 pub hash: String,
9 pub json: serde_json::Value,
10 pub r#type: String,
11}
12
13#[derive(Deserialize, Debug, Clone)]
14pub struct ScriptByHash {
15 pub data: Script,
16 pub last_updated: LastUpdated,
17}