pub struct YearMonthDay { /* private fields */ }
Implementations§
Source§impl YearMonthDay
impl YearMonthDay
pub fn from_components( year: Year, month: Month, day: Day, ) -> Result<Self, DateTimeParseError>
Trait Implementations§
Source§impl Clone for YearMonthDay
impl Clone for YearMonthDay
Source§fn clone(&self) -> YearMonthDay
fn clone(&self) -> YearMonthDay
Returns a copy 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 YearMonthDay
impl Debug for YearMonthDay
Source§impl FromStr for YearMonthDay
impl FromStr for YearMonthDay
Source§impl PartialEq for YearMonthDay
impl PartialEq for YearMonthDay
impl StructuralPartialEq for YearMonthDay
Auto Trait Implementations§
impl Freeze for YearMonthDay
impl RefUnwindSafe for YearMonthDay
impl Send for YearMonthDay
impl Sync for YearMonthDay
impl Unpin for YearMonthDay
impl UnwindSafe for YearMonthDay
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