Make DateTime
impl Copy
This commit is contained in:
parent
a440e730fa
commit
9563b1da0d
@ -9,7 +9,7 @@ use {
|
|||||||
std::{cmp, fmt},
|
std::{cmp, fmt},
|
||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||||
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
|
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
|
||||||
pub struct DateTime {
|
pub struct DateTime {
|
||||||
pub year: Year,
|
pub year: Year,
|
||||||
|
Loading…
Reference in New Issue
Block a user