Add PartialEq to Data struct (#19)

master
Paul Woolcock 7 years ago committed by Aaron Power
parent b445197381
commit dfe317f329
  1. 2
      src/lib.rs

@ -226,7 +226,7 @@ pub struct Mastodon {
/// Raw data about mastodon app. Save `Data` using `serde` to prevent needing /// Raw data about mastodon app. Save `Data` using `serde` to prevent needing
/// to authenticate on every run. /// to authenticate on every run.
#[derive(Clone, Debug, Deserialize, Serialize)] #[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub struct Data { pub struct Data {
/// Base url of instance eg. `https://mastodon.social`. /// Base url of instance eg. `https://mastodon.social`.
pub base: Cow<'static, str>, pub base: Cow<'static, str>,

Loading…
Cancel
Save