aboutsummaryrefslogtreecommitdiff
path: root/src/meta.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-29 12:13:59 +0000
committerFuwn <[email protected]>2024-06-29 12:13:59 +0000
commit5d9579dd6beb38892053c68495e93a78f83a5fcc (patch)
treef35f936583a412f819f009442c54b88b6785a274 /src/meta.rs
parentfix(ast): optional whitespace following heading markers (diff)
downloadgerm-0.4.4.tar.xz
germ-0.4.4.zip
feat: derive all for public typesv0.4.4
Diffstat (limited to 'src/meta.rs')
-rw-r--r--src/meta.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meta.rs b/src/meta.rs
index e9a80f1..dca963a 100644
--- a/src/meta.rs
+++ b/src/meta.rs
@@ -20,7 +20,7 @@ use std::{borrow::Cow, collections::HashMap, fmt::Display};
/// Structure-ize a Gemini response's meta section into it's mime type and it's
/// parameters.
-#[derive(Debug, Default, Clone)]
+#[derive(Debug, Default, Clone, PartialEq, Eq)]
pub struct Meta {
/// The mime type of a Gemini response
mime: String,