Page MenuHomePhorge

structs.rs
No OneTemporary

Size
767 B
Referenced Files
None
Subscribers
None

structs.rs

use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Serialize)]
pub struct Config {
pub runner: Runner,
pub daemon: Daemon,
}
#[derive(Debug, Deserialize, Serialize)]
pub struct Runner {
pub shell: String,
pub args: Vec<String>,
pub node: String,
pub log_path: String,
}
#[derive(Debug, Deserialize, Serialize)]
pub struct Daemon {
pub restarts: u64,
pub interval: u64,
pub kind: String,
pub web: Web,
}
#[derive(Debug, Deserialize, Serialize)]
pub struct Web {
pub ui: bool,
pub api: bool,
pub address: String,
pub port: u64,
pub secure: Secure,
pub path: Option<String>,
}
#[derive(Debug, Deserialize, Serialize)]
pub struct Secure {
pub enabled: bool,
pub token: String,
}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 16, 10:28 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
484939
Default Alt Text
structs.rs (767 B)

Event Timeline