From dfe317f329a1feeeb22f2af567ea200e692f0662 Mon Sep 17 00:00:00 2001 From: Paul Woolcock Date: Thu, 21 Dec 2017 11:56:14 -0500 Subject: [PATCH] Add PartialEq to Data struct (#19) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c771ed4..731a775 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -226,7 +226,7 @@ pub struct Mastodon { /// Raw data about mastodon app. Save `Data` using `serde` to prevent needing /// to authenticate on every run. -#[derive(Clone, Debug, Deserialize, Serialize)] +#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] pub struct Data { /// Base url of instance eg. `https://mastodon.social`. pub base: Cow<'static, str>,