Struct pyo3_ffi::_PyDateTime_BaseDateTime
source · #[repr(C)]pub struct _PyDateTime_BaseDateTime {
pub ob_base: PyObject,
pub hashcode: Py_hash_t,
pub hastzinfo: c_char,
pub data: [c_uchar; 10],
}
Expand description
Structure representing a datetime.datetime
without a tzinfo
member.
Fields§
§ob_base: PyObject
§hashcode: Py_hash_t
§hastzinfo: c_char
§data: [c_uchar; 10]
Trait Implementations§
source§impl Clone for _PyDateTime_BaseDateTime
impl Clone for _PyDateTime_BaseDateTime
source§fn clone(&self) -> _PyDateTime_BaseDateTime
fn clone(&self) -> _PyDateTime_BaseDateTime
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_BaseDateTime
impl Debug for _PyDateTime_BaseDateTime
impl Copy for _PyDateTime_BaseDateTime
Auto Trait Implementations§
impl Freeze for _PyDateTime_BaseDateTime
impl RefUnwindSafe for _PyDateTime_BaseDateTime
impl !Send for _PyDateTime_BaseDateTime
impl !Sync for _PyDateTime_BaseDateTime
impl Unpin for _PyDateTime_BaseDateTime
impl UnwindSafe for _PyDateTime_BaseDateTime
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