From 269899af0797ea81887f9c2d4fcd581a098a0e69 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Mon, 8 Apr 2024 12:36:20 -0400 Subject: [PATCH] Added parsers module --- src/parsers/api_parser.rs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/parsers/api_parser.rs b/src/parsers/api_parser.rs index e69de29..4ea10da 100644 --- a/src/parsers/api_parser.rs +++ b/src/parsers/api_parser.rs @@ -0,0 +1,20 @@ + +use crate::models; + +pub struct APIParser { + pub api: models::api::API, + pub ica_act: models::icarus_action::IcarusAction, +} + +impl APIParser { + // pub fn init() -> APIParser { + // } + + pub fn retrieve_api(&self) -> models::api::API { + return models::api::API::default(); + } + + // TODO: Implement + fn parse_api(&self) { + } +} \ No newline at end of file