From 7b9e9d2da5d85f23d43724fe2ca5012918ea54be Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 23 Aug 2024 22:19:32 +0200 Subject: Add doc --- src/dates.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dates.rs') 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); impl From> for GraphQLDate { -- cgit v1.2.3-18-g5258