#[repr(C)]pub struct PyDateTime_Delta {
pub ob_base: PyObject,
pub hashcode: Py_hash_t,
pub days: c_int,
pub seconds: c_int,
pub microseconds: c_int,
}
Available on non-
Py_LIMITED_API
only.Expand description
Structure representing a datetime.timedelta
.
Fields§
§ob_base: PyObject
§hashcode: Py_hash_t
Available on neither
§PyPy
nor GraalPy
.days: c_int
Available on non-
§GraalPy
only.seconds: c_int
Available on non-
§GraalPy
only.microseconds: c_int
Available on non-
GraalPy
only.Trait Implementations§
Auto Trait Implementations§
impl Freeze for PyDateTime_Delta
impl RefUnwindSafe for PyDateTime_Delta
impl !Send for PyDateTime_Delta
impl !Sync for PyDateTime_Delta
impl Unpin for PyDateTime_Delta
impl UnwindSafe for PyDateTime_Delta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more