Fix clippy: Derive Eq for MediaType

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 19:08:24 +01:00
parent 8cfe447aa1
commit afb3f59fc7
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ pub struct ImageDetails {
} }
/// The type of media attachment. /// The type of media attachment.
#[derive(Debug, Deserialize, Serialize, Clone, Copy, PartialEq)] #[derive(Debug, Deserialize, Serialize, Clone, Copy, PartialEq, Eq)]
pub enum MediaType { pub enum MediaType {
/// An image. /// An image.
#[serde(rename = "image")] #[serde(rename = "image")]