pub struct DateOfBirthSpecs {
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 DateOfBirthSpecs
impl Clone for DateOfBirthSpecs
Source§fn clone(&self) -> DateOfBirthSpecs
fn clone(&self) -> DateOfBirthSpecs
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 DateOfBirthSpecs
impl Debug for DateOfBirthSpecs
Source§impl Serialize for DateOfBirthSpecs
impl Serialize for DateOfBirthSpecs
impl Copy for DateOfBirthSpecs
Auto Trait Implementations§
impl Freeze for DateOfBirthSpecs
impl RefUnwindSafe for DateOfBirthSpecs
impl Send for DateOfBirthSpecs
impl Sync for DateOfBirthSpecs
impl Unpin for DateOfBirthSpecs
impl UnwindSafe for DateOfBirthSpecs
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