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>,