Struct pyo3::ffi::PyDateTime_Delta
source · pub struct PyDateTime_Delta {
pub ob_base: PyObject,
pub hashcode: isize,
pub days: i32,
pub seconds: i32,
pub microseconds: i32,
}Expand description
Structure representing a datetime.timedelta.
Fields
ob_base: PyObjecthashcode: isizeAvailable on non-
PyPy only.days: i32seconds: i32microseconds: i32Trait Implementations
sourceimpl Clone for PyDateTime_Delta
impl Clone for PyDateTime_Delta
sourcefn clone(&self) -> PyDateTime_Delta
fn clone(&self) -> PyDateTime_Delta
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PyDateTime_Delta
impl Debug for PyDateTime_Delta
impl Copy for PyDateTime_Delta
impl PyLayout<PyDelta> for PyDateTime_Delta
Available on non-
Py_LIMITED_API only.impl PySizedLayout<PyDelta> for PyDateTime_Delta
Available on non-
Py_LIMITED_API only.Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more