From ab75fc1b6df809bd84e25975a1ed4c6b68feb19e Mon Sep 17 00:00:00 2001 From: Jonathan Nilsson Date: Thu, 22 Oct 2020 14:22:53 +0200 Subject: [PATCH] OIT is copy --- src/base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base.rs b/src/base.rs index 404d383..9cde84e 100644 --- a/src/base.rs +++ b/src/base.rs @@ -97,7 +97,7 @@ impl EncodingPacket { } // As defined in section 3.3.2 and 3.3.3 -#[derive(Clone, Debug, PartialEq, PartialOrd, Eq, Ord, Hash)] +#[derive(Copy, Clone, Debug, PartialEq, PartialOrd, Eq, Ord, Hash)] #[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))] pub struct ObjectTransmissionInformation { transfer_length: u64, // Limited to u40