Create a [`LogicalType::Timestamp`] variant with the given `is_adjusted_to_u_t_c` and `unit`
(is_adjusted_to_u_t_c: bool, unit: TimeUnit)
| 322 | |
| 323 | /// Create a [`LogicalType::Timestamp`] variant with the given `is_adjusted_to_u_t_c` and `unit` |
| 324 | pub fn timestamp(is_adjusted_to_u_t_c: bool, unit: TimeUnit) -> Self { |
| 325 | Self::Timestamp(TimestampType { |
| 326 | is_adjusted_to_u_t_c, |
| 327 | unit, |
| 328 | }) |
| 329 | } |
| 330 | |
| 331 | /// Create a [`LogicalType::Variant`] variant with the given `specification_version` |
| 332 | pub fn variant(specification_version: Option<i8>) -> Self { |