#[repr(C)]pub struct _PyDateTime_BaseDateTime {
pub ob_base: PyObject,
pub hashcode: Py_hash_t,
pub hastzinfo: c_char,
pub data: [c_uchar; 10],
}
Available on non-
Py_LIMITED_API
and neither PyPy
nor GraalPy
only.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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)