Struct gedcomx_date::Date
source · pub struct Date {
pub year: i32,
pub month: Option<u32>,
pub day: Option<u32>,
}
Expand description
A date object
Fields§
§year: i32
§month: Option<u32>
§day: Option<u32>
Trait Implementations§
source§impl PartialEq<Date> for Date
impl PartialEq<Date> for Date
impl Copy for Date
impl Eq for Date
impl StructuralEq for Date
impl StructuralPartialEq for Date
Auto Trait Implementations§
impl RefUnwindSafe for Date
impl Send for Date
impl Sync for Date
impl Unpin for Date
impl UnwindSafe for Date
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