MCPcopy Create free account
hub / github.com/MoonKraken/youtube / Task

Class Task

FullStackRust/common/src/model/task.rs:15–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14#[derive(Deserialize, Serialize, Debug)]
15pub struct Task {
16 pub user_uuid: String,
17 pub task_uuid: String,
18 pub task_type: String,
19 pub state: TaskState,
20 pub source_file: String,
21 pub result_file: Option<String>
22}
23
24impl Task {
25 pub fn new(user_uuid: String, task_type: String, source_file: String) -> Task {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected