fn to_optional_ts(o: Option<chrono::DateTime<chrono::Utc>>) -> Option<i64> {
  match o {
    Some(d) => Some(to_ts(d)),
    None => None,
  }
}
// TODO: this should probably implement From/Into
this should probably implement From/Into
this should probably implement From / Into
fn to_optional_ts(o: Option<chrono::DateTime<chrono::Utc>>) -> Option<i64> {
  match o {
    Some(d) => Some(to_ts(d)),
    None => None,
  }
}
fn to_optional_ts ( o : Option < chrono :: DateTime < chrono :: Utc > > ) -> Option < i64 > { match o { Some ( d ) => Some ( to_ts ( d ) ) , None => None , } }
TODO: this should probably implement From/Into
TODO : this should probably implement From / Into
o
Option<chrono::DateTime<chrono::Utc>>
o
Option<chrono::DateTime<chrono::Utc>>