Skip to content

Commit

Permalink
derive Serialize on common::Facts
Browse files Browse the repository at this point in the history
  • Loading branch information
chunningham committed Oct 6, 2023
1 parent 5231254 commit 2232f19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v3/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ impl<U, W> Types<U, W> {
}
}

#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize)]
#[serde(untagged)]
pub enum Facts<'a, U, W = U> {
Recap(&'a RecapFacts),
Ucan(&'a U),
Expand Down

0 comments on commit 2232f19

Please sign in to comment.