Page MenuHomePhorge

structs.rs
No OneTemporary

Size
612 B
Referenced Files
None
Subscribers
None

structs.rs

use psutil::process::MemoryInfo;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct PawResult {
pub info: PawInfo,
pub process: PawProcess,
}
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct PawProcess {
pub cmd: String,
pub args: Vec<String>,
}
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct PawInfo {
pub uptime: u128,
pub memory_usage: Option<MemoryInfo>,
pub cpu_percent: Option<f32>,
}
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct PawDone {
pub stdout: String,
pub code: Option<i32>,
}

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 15, 9:53 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
484888
Default Alt Text
structs.rs (612 B)

Event Timeline