Skip to content

Commit

Permalink
Add serde traits to Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Jun 1, 2021
1 parent 27dd8be commit 67454be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/client.rs
Expand Up @@ -187,7 +187,7 @@ impl RawTx for String {
}

/// The different authentication methods for the client.
#[derive(Clone, Debug, Hash, Eq, PartialEq, Ord, PartialOrd)]
#[derive(Clone, Debug, Hash, Eq, PartialEq, Ord, PartialOrd, Serialize, Deserialize)]
pub enum Auth {
None,
UserPass(String, String),
Expand Down

0 comments on commit 67454be

Please sign in to comment.