time, date: Add missing docs.

This commit is contained in:
Emmanuel Gil Peyrot 2019-04-22 13:33:29 +02:00
commit e1bd0086f1
2 changed files with 5 additions and 0 deletions

View file

@ -14,11 +14,13 @@ use std::convert::TryFrom;
use std::str::FromStr;
generate_empty_element!(
/// An entity time query.
TimeQuery, "time", TIME
);
impl IqGetPayload for TimeQuery {}
/// An entity time result, containing an unique DateTime.
#[derive(Debug, Clone)]
pub struct TimeResult(pub DateTime);