IntoTimestamp#
- pub trait IntoTimestamp#
Required items#
- fn into_timestamp(self) -> Timestamp#
Provided items#
- fn try_into_timestamp(self) -> Result<Timestamp, TryFromIntError> where Self: Sized#
Convert without narrowing overflow. Custom implementations should override this if their input range exceeds the protobuf timestamp representation.
Implementors#
- impl IntoTimestamp for Duration
- impl<T: TimeZone> IntoTimestamp for DateTime<T>
- impl IntoTimestamp for i64