pub struct LocalDate {
pub year: i32,
pub month: u8,
pub day: u8,
pub weekday: Weekday,
}Expand description
A date on the calendar of the user’s time zone.
Fields§
§year: i32§month: u8One for January up to twelve.
day: u8One up to the last day of the month.
weekday: WeekdayImplementations§
Trait Implementations§
impl Copy for LocalDate
impl Eq for LocalDate
impl StructuralPartialEq for LocalDate
Auto Trait Implementations§
impl Forget for LocalDate
impl Freeze for LocalDate
impl Move for LocalDate
impl RefUnwindSafe for LocalDate
impl Send for LocalDate
impl Sync for LocalDate
impl Unpin for LocalDate
impl UnsafeUnpin for LocalDate
impl UnwindSafe for LocalDate
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