#[repr(C)]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: PyObject§hashcode: isize§days: i32§seconds: i32§microseconds: i32Trait Implementations§
Source§impl Debug for PyDateTime_Delta
impl Debug for PyDateTime_Delta
impl PyLayout<PyDelta> for PyDateTime_Delta
impl PySizedLayout<PyDelta> for PyDateTime_Delta
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more