Struct pyo3_ffi::PyDateTime_Delta
source · #[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,
}
Expand description
Structure representing a datetime.timedelta
.
Fields§
§ob_base: PyObject
§hashcode: Py_hash_t
§days: c_int
§seconds: c_int
§microseconds: c_int
Trait Implementations§
source§impl Clone for PyDateTime_Delta
impl Clone for PyDateTime_Delta
source§fn clone(&self) -> PyDateTime_Delta
fn clone(&self) -> PyDateTime_Delta
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PyDateTime_Delta
impl Debug for PyDateTime_Delta
impl Copy for PyDateTime_Delta
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§
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