22 lines
405 B
Rust
22 lines
405 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
mod models {
|
|
|
|
#[derive(Debug, Deserialize, Serialize)]
|
|
pub struct IcarusAction {
|
|
pub action: String,
|
|
pub flags: Vec<models::Flags>,
|
|
}
|
|
|
|
impl IcarusAction {
|
|
// TODO: Implement
|
|
pub fn retrieve_flag_value(&self, flag: &String) -> String {
|
|
return String::from("");
|
|
}
|
|
|
|
// TODO: Implement
|
|
pub fn print_action_and_flags(&self) {
|
|
}
|
|
}
|
|
}
|