Skip to content

Commit

Permalink
feat: derive Clone trait for TokenRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
nanderstabel committed Aug 21, 2024
1 parent dac4102 commit aa00f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oid4vci/src/token_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use serde_with::skip_serializing_none;

/// Token Request as described here: https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0-13.html#name-token-request
#[skip_serializing_none]
#[derive(Serialize, Deserialize, Debug, PartialEq)]
#[derive(Serialize, Deserialize, Debug, PartialEq, Clone)]
#[serde(tag = "grant_type")]
pub enum TokenRequest {
#[serde(rename = "authorization_code")]
Expand Down

0 comments on commit aa00f82

Please sign in to comment.