summaryrefslogtreecommitdiff
path: root/src/dates.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dates.rs')
-rw-r--r--src/dates.rs1
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 {