Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2707920
structs.rs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
723 B
Referenced Files
None
Subscribers
None
structs.rs
View Options
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
api
:
Api
,
}
#[derive(Debug, Deserialize, Serialize)]
pub
struct
Api
{
pub
enabled
:
bool
,
pub
address
:
String
,
pub
port
:
u64
,
pub
secure
:
Secure
,
}
#[derive(Debug, Deserialize, Serialize)]
pub
struct
Secure
{
pub
enabled
:
bool
,
pub
token
:
String
,
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 6:22 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
490516
Default Alt Text
structs.rs (723 B)
Attached To
Mode
rPMC Process Management Controller
Attached
Detach File
Event Timeline
Log In to Comment