diff options
| author | Christine Dodrill <me@christine.website> | 2021-09-24 12:26:16 -0400 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2021-09-24 12:26:16 -0400 |
| commit | 7bdd2936c28673eca80854eb3d92d0ee50970368 (patch) | |
| tree | 8b01de2f763dc254b051fbab004ee7d7f95209b4 /lib/patreon/examples | |
| parent | dfe84da074ac14d2e0e036fdfe7609e0f5bfe687 (diff) | |
| download | xesite-7bdd2936c28673eca80854eb3d92d0ee50970368.tar.xz xesite-7bdd2936c28673eca80854eb3d92d0ee50970368.zip | |
patreon: show all patrons
Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'lib/patreon/examples')
| -rw-r--r-- | lib/patreon/examples/campaign.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/patreon/examples/campaign.rs b/lib/patreon/examples/campaign.rs index be56f9d..66f043c 100644 --- a/lib/patreon/examples/campaign.rs +++ b/lib/patreon/examples/campaign.rs @@ -13,5 +13,8 @@ async fn main() -> Result<()> { let pledges = cli.pledges(id).await?; println!("{:#?}", pledges); + + println!("{} patrons", pledges.len()); + Ok(()) } |
