Derive Eq for Static
This commit is contained in:
parent
2628759a2e
commit
2bde28f1de
|
@ -4,7 +4,7 @@ use super::Lifetime;
|
||||||
use client::response::{FromResponse, ParseError, JsonHelper};
|
use client::response::{FromResponse, ParseError, JsonHelper};
|
||||||
|
|
||||||
/// A static, non-expiring token.
|
/// A static, non-expiring token.
|
||||||
#[derive(Debug)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub struct Static;
|
pub struct Static;
|
||||||
|
|
||||||
impl Lifetime for Static {
|
impl Lifetime for Static {
|
||||||
|
|
Loading…
Reference in New Issue