aboutsummaryrefslogtreecommitdiff
path: root/lib/patreon/examples
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2021-09-24 12:26:16 -0400
committerChristine Dodrill <me@christine.website>2021-09-24 12:26:16 -0400
commit7bdd2936c28673eca80854eb3d92d0ee50970368 (patch)
tree8b01de2f763dc254b051fbab004ee7d7f95209b4 /lib/patreon/examples
parentdfe84da074ac14d2e0e036fdfe7609e0f5bfe687 (diff)
downloadxesite-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.rs3
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(())
}