diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-18 15:41:31 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-12-18 16:11:48 +0100 |
commit | d8f49b7cddf3c5b869cc107b00d1bf249aefeff3 (patch) | |
tree | 2bf63c22e026f1448414ebf693ba71ebe65f88d7 | |
parent | 0f90387776f238cfdd818e33aa26a6d95dd6b3b9 (diff) |
Let Payload impl Clone
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | lib/src/types/payload.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/types/payload.rs b/lib/src/types/payload.rs index a11b215..33b2342 100644 --- a/lib/src/types/payload.rs +++ b/lib/src/types/payload.rs @@ -4,7 +4,7 @@ use anyhow::Result; use crate::types::DateTime; -#[derive(Debug, Eq, PartialEq, getset::Getters)] +#[derive(Clone, Debug, Eq, PartialEq, getset::Getters)] pub struct Payload { // TODO: Make this a mime::Mime, but as this type does not impl Serialize/Deserialize, we // cannot do this trivially yet |