impl `Clone` on various public (mostly BOLT12) types
[rust-lightning] / lightning / src / offers / invoice_request.rs
index 8b06ba9a5ed52f724413510a95f96c5291c95001..f243ea693f2f019be1e0dddf214a599751213e1a 100644 (file)
@@ -487,6 +487,7 @@ for InvoiceRequestBuilder<'a, 'b, DerivedPayerId, secp256k1::All> {
 ///
 /// This is serialized as a TLV stream, which includes TLV records from the originating message. As
 /// such, it may include unknown, odd TLV records.
+#[derive(Clone)]
 pub struct UnsignedInvoiceRequest {
        bytes: Vec<u8>,
        contents: InvoiceRequestContents,