Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Add serde transparent attribute to UserPool
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlVinggaard committed Jan 5, 2024
1 parent 9e86409 commit f58e49d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types/user_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use serde::{Deserialize, Serialize};
use proptest_derive::Arbitrary;

#[derive(Clone, Debug, PartialEq, Eq, Hash, Deserialize, Serialize, PartialOrd, Ord)]
#[serde(transparent)]
#[cfg_attr(feature = "arbitrary", derive(Arbitrary))]
pub struct UserPool(pub String);

Expand Down

0 comments on commit f58e49d

Please sign in to comment.