Skip to main content

Module datetime

Module datetime 

Source
Expand description

Safe Rust wrappers for types defined in the Python datetime library

For more details about these types, see the Python documentation

Structs§

PyDate
Bindings around datetime.date.
PyDateTime
Bindings for datetime.datetime.
PyDelta
Bindings for datetime.timedelta.
PyTime
Bindings for datetime.time.
PyTzInfo
Bindings for datetime.tzinfo.

Traits§

PyDateAccess
Trait for accessing the date components of a struct containing a date.
PyDeltaAccess
Trait for accessing the components of a struct containing a timedelta.
PyTimeAccess
Trait for accessing the time components of a struct containing a time.
PyTzInfoAccess
Trait for accessing the components of a struct containing a tzinfo.