#![allow(unused_imports)] use stripe::StripeClient; use stripe::model::*; #[tokio::main] async fn main() { let client = StripeClient::from_env(); let subscription = "your subscription"; let response = client .get_subscription_items(subscription) .ending_before("your ending before") .expand(&["your expand"]) .limit(1) .starting_after("your starting after") .await .unwrap(); println!("{:#?}", response); }