summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarc Schreiber <info@schrieveslaach.de>2019-09-14 11:07:09 +0200
committerDoug Tangren <d.tangren@gmail.com>2019-09-14 18:07:09 +0900
commit63ef2b3b66616055535d9ad43253de1df83ab527 (patch)
tree0f75b9ce94f1878c7249c42bc1807102bd4a583b /examples
parent779ac244658d7641458ad669620c02f71037a8d3 (diff)
feat: use chrono to deserialize date times (#190)
Diffstat (limited to 'examples')
-rw-r--r--examples/images.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/images.rs b/examples/images.rs
index de04ab9..7a8a094 100644
--- a/examples/images.rs
+++ b/examples/images.rs
@@ -10,8 +10,9 @@ fn main() {
.map(|images| {
for i in images {
println!(
- "{} {:?}",
+ "{} {} {:?}",
i.id,
+ i.created,
i.repo_tags.unwrap_or_else(|| vec!["none".into()])
);
}