pub struct LocalDateTime {
pub year: i32,
pub month: u32,
pub day: u32,
pub weekday: u32,
pub hour: u32,
pub minute: u32,
pub second: u32,
}Fields§
§year: i32§month: u32§day: u32§weekday: u320 = Sunday.
hour: u32§minute: u32§second: u32Trait Implementations§
Source§impl Clone for LocalDateTime
impl Clone for LocalDateTime
impl Copy for LocalDateTime
Source§impl Debug for LocalDateTime
impl Debug for LocalDateTime
Source§impl Default for LocalDateTime
impl Default for LocalDateTime
impl Eq for LocalDateTime
Source§impl PartialEq for LocalDateTime
impl PartialEq for LocalDateTime
impl StructuralPartialEq for LocalDateTime
Auto Trait Implementations§
impl Freeze for LocalDateTime
impl RefUnwindSafe for LocalDateTime
impl Send for LocalDateTime
impl Sync for LocalDateTime
impl Unpin for LocalDateTime
impl UnsafeUnpin for LocalDateTime
impl UnwindSafe for LocalDateTime
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.