1 2 3 4 5 6 7
use petstore::PetstoreClient; #[tokio::main] async fn main() { let client = PetstoreClient::from_env(); let response = client.list_pets().send().await.unwrap(); println!("{:#?}", response); }