use std::path::PathBuf; use crate::request::Request; #[derive(Clone, Debug)] pub struct DevRequest { pub watch: bool, pub use_latest_trusted: bool, pub init_msg: serde_json::Value, pub label: String, pub contract_manifest: PathBuf, pub release: bool, } impl From for Request { fn from(request: DevRequest) -> Self { Self::Dev(request) } }