Skip to content

Commit efd6a1a

Browse files
authored
Derive columnar for point stamp (#562)
Signed-off-by: Moritz Hoffmann <[email protected]>
1 parent c9d7970 commit efd6a1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/dynamic/pointstamp.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111
//! (as iteration within a scope requires leaving contained scopes), and then to any number of appended
1212
//! default coordinates (which is effectively just *setting* the coordinate).
1313
14+
use columnar::Columnar;
1415
use serde::{Deserialize, Serialize};
1516

1617
/// A sequence of timestamps, partially ordered by the product order.
1718
///
1819
/// Sequences of different lengths are compared as if extended indefinitely by `T::minimum()`.
1920
/// Sequences are guaranteed to be "minimal", and may not end with `T::minimum()` entries.
20-
#[derive(Hash, Default, Clone, Eq, PartialEq, Ord, PartialOrd, Debug, Serialize, Deserialize)]
21+
#[derive(Hash, Default, Clone, Eq, PartialEq, Ord, PartialOrd, Debug, Serialize, Deserialize, Columnar)]
22+
#[columnar(derive(Eq, PartialEq, Ord, PartialOrd))]
2123
pub struct PointStamp<T> {
2224
/// A sequence of timestamps corresponding to timestamps in a sequence of nested scopes.
2325
vector: Vec<T>,

0 commit comments

Comments
 (0)