Skip to content

Commit 5111a7b

Browse files
committed
EncodableApiTokenWithToken: Remove unused Deserialize trait implementation
1 parent 482309d commit 5111a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ impl From<Team> for EncodableTeam {
467467
/// The serialization format for the `ApiToken` model with its token value.
468468
/// This should only be used when initially creating a new token to minimize
469469
/// the chance of token leaks.
470-
#[derive(Deserialize, Serialize, Debug)]
470+
#[derive(Serialize, Debug)]
471471
pub struct EncodableApiTokenWithToken {
472472
pub id: i32,
473473
pub name: String,

0 commit comments

Comments
 (0)