Struct gedcomx_date::Date
[−]
[src]
pub struct Date { pub year: i32, pub month: Option<u32>, pub day: Option<u32>, }
A date object
Fields
year: i32
month: Option<u32>
day: Option<u32>
Trait Implementations
impl Eq for Date
[src]
impl PartialEq for Date
[src]
fn eq(&self, __arg_0: &Date) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Date) -> bool
This method tests for !=
.
impl Debug for Date
[src]
impl Copy for Date
[src]
impl Clone for Date
[src]
fn clone(&self) -> Date
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more