Fix clippy: Derive Eq for MediaType
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
8cfe447aa1
commit
afb3f59fc7
|
@ -48,7 +48,7 @@ pub struct ImageDetails {
|
|||
}
|
||||
|
||||
/// The type of media attachment.
|
||||
#[derive(Debug, Deserialize, Serialize, Clone, Copy, PartialEq)]
|
||||
#[derive(Debug, Deserialize, Serialize, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum MediaType {
|
||||
/// An image.
|
||||
#[serde(rename = "image")]
|
||||
|
|
Loading…
Reference in New Issue