We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f9e7a commit 8d81a6bCopy full SHA for 8d81a6b
scylla-cql/src/frame/value.rs
@@ -154,6 +154,13 @@ impl PartialEq for CqlTimeuuid {
154
}
155
156
157
+impl std::hash::Hash for CqlTimeuuid {
158
+ fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
159
+ self.lsb_signed().hash(state);
160
+ self.msb().hash(state);
161
+ }
162
+}
163
+
164
/// Native CQL date representation that allows for a bigger range of dates (-262145-1-1 to 262143-12-31).
165
///
166
/// Represented as number of days since -5877641-06-23 i.e. 2^31 days before unix epoch.
0 commit comments