#![allow(unused_imports)] use sendgrid2::SendgridClient; use sendgrid2::model::*; use sendgrid2::request::PostSsoTeammatesRequired; #[tokio::main] async fn main() { let client = SendgridClient::from_env(); let args = PostSsoTeammatesRequired { first_name: "your first name", email: "your email", is_admin: true, is_read_only: true, last_name: "your last name", scopes: &["your scopes"], }; let response = client.post_sso_teammates(args).send().await.unwrap(); println!("{:#?}", response); }