diff options
author | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-11-10 04:04:00 -0800 |
---|---|---|
committer | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-11-10 04:04:59 -0800 |
commit | ca0762652e293ad9d35b03b537c02d218e44a13f (patch) | |
tree | 877f3c97781efd2a8a5a28e1803314575b04382c /src/tw/user.rs | |
parent | aa5f8ff4bce898907ffc0c0e2b7ea36d7f8c10b7 (diff) |
very hackily add notion of user credentials and PIN auth
also fix bug where cached user info takes precedence over (possibly
updated) api json user info
Diffstat (limited to 'src/tw/user.rs')
-rw-r--r-- | src/tw/user.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tw/user.rs b/src/tw/user.rs index 0af4eb8..86fbe3f 100644 --- a/src/tw/user.rs +++ b/src/tw/user.rs @@ -1,6 +1,6 @@ extern crate serde_json; -#[derive(Debug, Serialize, Deserialize, Clone)] +#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] pub struct User { pub id: String, pub name: String, |