cycles-quartz/cli/src/request/dev.rs

20 lines
394 B
Rust
Raw Normal View History

2024-08-28 23:45:09 +00:00
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<DevRequest> for Request {
fn from(request: DevRequest) -> Self {
Self::Dev(request)
}
}