Struct pyo3::ffi::PyDateTime_Time[][src]

#[repr(C)]
pub struct PyDateTime_Time { pub ob_base: PyObject, pub hashcode: Py_hash_t, pub hastzinfo: c_char, pub data: [c_uchar; 6], pub fold: c_uchar, pub tzinfo: *mut PyObject, }
Expand description

Structure representing a datetime.time.

Fields

ob_base: PyObjecthashcode: Py_hash_t
This is supported on non-PyPy only.
hastzinfo: c_chardata: [c_uchar; 6]
This is supported on non-PyPy only.
fold: c_uchar
This is supported on non-PyPy only.
tzinfo: *mut PyObject

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.