#[repr(C)]pub struct _PyDateTime_BaseDateTime {
pub ob_base: PyObject,
pub hashcode: isize,
pub hastzinfo: i8,
pub data: [u8; 10],
}
Available on neither
PyPy
nor GraalPy
.Expand description
Structure representing a datetime.datetime
without a tzinfo
member.
Fields§
§ob_base: PyObject
§hashcode: isize
§hastzinfo: i8
§data: [u8; 10]
Trait Implementations§
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> AssertNotZeroSized for T
impl<T> AssertNotZeroSized for T
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