Skip to content

Commit

Permalink
Add strum::EnumIter for TicketType
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Nov 22, 2024
1 parent 013941d commit 7732397
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion common/credentials-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,15 @@ impl From<PayInfo> for NymPayInfo {
}

#[derive(
Copy, Clone, Debug, PartialEq, Serialize, Deserialize, strum::Display, strum::EnumString,
Copy,
Clone,
Debug,
PartialEq,
Serialize,
Deserialize,
strum::Display,
strum::EnumString,
strum::EnumIter,
)]
#[serde(rename_all = "kebab-case")]
#[strum(serialize_all = "kebab-case")]
Expand Down

0 comments on commit 7732397

Please sign in to comment.