diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-08-23 22:19:32 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-08-23 22:19:32 +0200 |
commit | 7b9e9d2da5d85f23d43724fe2ca5012918ea54be (patch) | |
tree | 801ccae65d27fcf69bfca5db18265fbb7b5d7f21 /src/dates.rs | |
parent | cb1aa9668a967fe875e716469ccf936ed8693ad3 (diff) |
Add doc
Diffstat (limited to 'src/dates.rs')
-rw-r--r-- | src/dates.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dates.rs b/src/dates.rs index 87e6f5e..9c007e9 100644 --- a/src/dates.rs +++ b/src/dates.rs @@ -3,6 +3,7 @@ use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone)] +/// A DateTime used as GraphQL type pub struct GraphQLDate(pub DateTime<Utc>); impl From<DateTime<Utc>> for GraphQLDate { |