We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PartialEq
Eq
Hash
Copy
Clone
NaiveWeek
1 parent c8defc7 commit 05a6ce6Copy full SHA for 05a6ce6
src/naive/mod.rs
@@ -29,7 +29,7 @@ pub use self::internals::YearFlags as __BenchYearFlags;
29
30
/// A week represented by a [`NaiveDate`] and a [`Weekday`] which is the first
31
/// day of the week.
32
-#[derive(Debug)]
+#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
33
pub struct NaiveWeek {
34
date: NaiveDate,
35
start: Weekday,
0 commit comments