use mailerlite_rs::{response::Response, MailerLite}; #[tokio::main] async fn main() { let api_key: String = String::from("Your MailerLite API Key"); let mailerlite: MailerLite = MailerLite::new(api_key); let response: Response = mailerlite.campaign().languages().await; println!("{:#?}", response); }