Derive Eq for Expiring

This commit is contained in:
Curtis McEnroe 2015-12-23 23:57:12 -05:00
parent e09b0726fe
commit 02a764720b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ use super::Lifetime;
use client::response::{FromResponse, ParseError, JsonHelper};
/// An expiring token.
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub struct Expiring {
refresh_token: String,
expires: DateTime<UTC>,