Module traits

Module traits 

Source

Traitsยง

AsDays
Used to get the number of full days which represent a specific object which implements this trait.
AsDuration
Used to convert an object to a chrono::Duration representation.
AsHours
Used to get the number of full hours which represent a specific object which implements this trait.
AsMinutes
Used to get the number of full minutes which represent a specific object which implements this trait.
AsSeconds
Used to get the number of seconds which represent a specific object which implements this trait.