@@ -202,7 +202,7 @@ impl UniffiCustomTypeConverter for PaymentSecret {
202202/// Note that this will start out to be a temporary ID until channel funding negotiation is
203203/// finalized, at which point it will change to be a permanent global ID tied to the on-chain
204204/// funding transaction.
205- #[ derive( Debug , Clone , PartialEq , Eq ) ]
205+ #[ derive( Debug , Copy , Clone , PartialEq , Eq ) ]
206206pub struct ChannelId ( pub [ u8 ; 32 ] ) ;
207207
208208impl UniffiCustomTypeConverter for ChannelId {
@@ -241,7 +241,7 @@ impl Readable for ChannelId {
241241/// A local, potentially user-provided, identifier of a channel.
242242///
243243/// By default, this will be randomly generated for the user to ensure local uniqueness.
244- #[ derive( Debug , Clone , PartialEq , Eq ) ]
244+ #[ derive( Debug , Copy , Clone , PartialEq , Eq ) ]
245245pub struct UserChannelId ( pub u128 ) ;
246246
247247impl UniffiCustomTypeConverter for UserChannelId {
@@ -270,7 +270,7 @@ impl Readable for UserChannelId {
270270 }
271271}
272272
273- #[ derive( PartialEq , Eq , Debug , Clone ) ]
273+ #[ derive( PartialEq , Eq , Debug , Copy , Clone ) ]
274274pub struct Network ( pub bitcoin:: Network ) ;
275275
276276impl Default for Network {
0 commit comments