Enum gedcomx_date::DateTimeOrDuration
source · pub enum DateTimeOrDuration {
DateTime(DateTime),
Duration(Duration),
}
Expand description
Gedcomx date
Variants§
Trait Implementations§
source§impl Clone for DateTimeOrDuration
impl Clone for DateTimeOrDuration
source§fn clone(&self) -> DateTimeOrDuration
fn clone(&self) -> DateTimeOrDuration
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 DateTimeOrDuration
impl Debug for DateTimeOrDuration
source§impl PartialEq<DateTimeOrDuration> for DateTimeOrDuration
impl PartialEq<DateTimeOrDuration> for DateTimeOrDuration
source§fn eq(&self, other: &DateTimeOrDuration) -> bool
fn eq(&self, other: &DateTimeOrDuration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DateTimeOrDuration
impl Eq for DateTimeOrDuration
impl StructuralEq for DateTimeOrDuration
impl StructuralPartialEq for DateTimeOrDuration
Auto Trait Implementations§
impl RefUnwindSafe for DateTimeOrDuration
impl Send for DateTimeOrDuration
impl Sync for DateTimeOrDuration
impl Unpin for DateTimeOrDuration
impl UnwindSafe for DateTimeOrDuration
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