use std::collections::HashMap; use mikrotik_lite::MikrotikLite; fn main() { let mut api = MikrotikLite::new( "api_login".to_string(), "api_pass".to_string(), "10.80.80.1:8728".to_string(), ).unwrap(); let identity_json = api.send_command::>( "/ip/route/print".to_string(), None, ).unwrap(); println!("{:#?}", identity_json); }