@@ -202,7 +202,7 @@ impl UniffiCustomTypeConverter for PaymentSecret {
202
202
/// Note that this will start out to be a temporary ID until channel funding negotiation is
203
203
/// finalized, at which point it will change to be a permanent global ID tied to the on-chain
204
204
/// funding transaction.
205
- #[ derive( Debug , Clone , PartialEq , Eq ) ]
205
+ #[ derive( Debug , Copy , Clone , PartialEq , Eq ) ]
206
206
pub struct ChannelId ( pub [ u8 ; 32 ] ) ;
207
207
208
208
impl UniffiCustomTypeConverter for ChannelId {
@@ -241,7 +241,7 @@ impl Readable for ChannelId {
241
241
/// A local, potentially user-provided, identifier of a channel.
242
242
///
243
243
/// 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 ) ]
245
245
pub struct UserChannelId ( pub u128 ) ;
246
246
247
247
impl UniffiCustomTypeConverter for UserChannelId {
@@ -270,7 +270,7 @@ impl Readable for UserChannelId {
270
270
}
271
271
}
272
272
273
- #[ derive( PartialEq , Eq , Debug , Clone ) ]
273
+ #[ derive( PartialEq , Eq , Debug , Copy , Clone ) ]
274
274
pub struct Network ( pub bitcoin:: Network ) ;
275
275
276
276
impl Default for Network {
0 commit comments