Skip to content

Commit c696ec0

Browse files
authored
trace: derive Serialize+Deserialize for Description (#345)
1 parent c88e702 commit c696ec0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/trace/description.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
//! times at which data may possibly be sent.
5757
5858
use timely::{PartialOrder, progress::Antichain};
59+
use serde::{Serialize, Deserialize};
5960

6061
/// Describes an interval of partially ordered times.
6162
///
@@ -64,7 +65,7 @@ use timely::{PartialOrder, progress::Antichain};
6465
/// frontier indicates a moment at which the times were observed. If `since` is strictly in
6566
/// advance of `lower`, the contained times may be "advanced" to times which appear equivalent to
6667
/// any time after `since`.
67-
#[derive(Clone, Debug, Abomonation)]
68+
#[derive(Clone, Debug, Abomonation, Serialize, Deserialize)]
6869
pub struct Description<Time> {
6970
/// lower frontier of contained updates.
7071
lower: Antichain<Time>,

0 commit comments

Comments
 (0)