pub struct DateOfBirth {
pub day: i64,
pub month: i64,
pub year: i64,
}
Fields§
§day: i64
The day of birth, between 1 and 31.
month: i64
The month of birth, between 1 and 12.
year: i64
The four-digit year of birth.
Implementations§
Trait Implementations§
Source§impl Clone for DateOfBirth
impl Clone for DateOfBirth
Source§fn clone(&self) -> DateOfBirth
fn clone(&self) -> DateOfBirth
Returns a duplicate 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 DateOfBirth
impl Debug for DateOfBirth
Source§impl Serialize for DateOfBirth
impl Serialize for DateOfBirth
impl Copy for DateOfBirth
Auto Trait Implementations§
impl Freeze for DateOfBirth
impl RefUnwindSafe for DateOfBirth
impl Send for DateOfBirth
impl Sync for DateOfBirth
impl Unpin for DateOfBirth
impl UnwindSafe for DateOfBirth
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