Fix clippy: Derive Eq for Visibility
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
fa72eb1bd4
commit
781b8a0b2e
|
@ -241,7 +241,7 @@ pub struct NewStatus {
|
|||
}
|
||||
|
||||
/// The visibility of a status.
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Serialize, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Serialize, PartialEq, Eq)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum Visibility {
|
||||
/// A Direct message to a user
|
||||
|
|
Loading…
Reference in New Issue