use reqwest::blocking::Response; pub struct APITransaction { /// Query made to API. query: String, //TODO: enum /// Response struct from abstracted library _response: Option } impl APITransaction { pub fn new(_response: Option) -> Self { APITransaction { query: String::default(), _response } } } pub struct API { base_url: String, token: Option, history: Vec } impl API { }