Add PartialEq to Data struct (#19)

This commit is contained in:
Paul Woolcock
2017-12-21 16:56:14 +00:00
committed by Aaron Power
parent b445197381
commit dfe317f329
+1 -1
View File
@@ -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>,