pub struct LocalDateTime {
pub date: Date,
pub time: Time,
}Fields§
§date: Date§time: TimeTrait Implementations§
Source§impl Clone for LocalDateTime
impl Clone for LocalDateTime
Source§fn clone(&self) -> LocalDateTime
fn clone(&self) -> LocalDateTime
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalDateTime
impl Debug for LocalDateTime
Source§impl Default for LocalDateTime
impl Default for LocalDateTime
Source§impl Display for LocalDateTime
impl Display for LocalDateTime
Source§impl From<LocalDateTime> for Datetime
impl From<LocalDateTime> for Datetime
Source§fn from(value: LocalDateTime) -> Self
fn from(value: LocalDateTime) -> Self
Converts to this type from the input type.
Source§impl Ord for LocalDateTime
impl Ord for LocalDateTime
Source§fn cmp(&self, other: &LocalDateTime) -> Ordering
fn cmp(&self, other: &LocalDateTime) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocalDateTime
impl PartialEq for LocalDateTime
Source§impl PartialOrd for LocalDateTime
impl PartialOrd for LocalDateTime
impl Copy for LocalDateTime
impl Eq 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 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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.