#![allow(unused_imports)] use sendgrid2::SendgridClient; use sendgrid2::model::*; #[tokio::main] async fn main() { let client = SendgridClient::from_env(); let page_size = 1.0; let response = client .get_templates(page_size) .generations("your generations") .page_token("your page token") .on_behalf_of("your on behalf of") .send() .await .unwrap(); println!("{:#?}", response); }