Crate diesel_chrono_duration

Source
Expand description

§diesel-chrono-duration

This crate implements storage functionality for the chrono::Duration type. It could be included into the diesel itself but its policy does not allow that.

§Usage

Just use the ChronoDurationProxy type instead of vanilla chrono::Duration.

Structs§

ChronoDurationProxy
A proxy type for which the diesel traits are implemented. Use this type whenever you want to operate with chrono::Duration.