pub struct DateOfBirth { /* private fields */ }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 (const: unstable) · 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 Default for DateOfBirth
impl Default for DateOfBirth
Source§impl From<DateOfBirth> for DateOfBirth
impl From<DateOfBirth> for DateOfBirth
Source§fn from(value: DateOfBirth) -> Self
fn from(value: DateOfBirth) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DateOfBirth> for DateOfBirth
impl TryFrom<DateOfBirth> for DateOfBirth
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DateOfBirth) -> Result<Self, ConversionError>
fn try_from(value: DateOfBirth) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DateOfBirth
impl RefUnwindSafe for DateOfBirth
impl Send for DateOfBirth
impl Sync for DateOfBirth
impl Unpin for DateOfBirth
impl UnsafeUnpin 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