mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-18 05:12:38 +01:00
chore: make Bolt11InvoiceDescriptionRef
copy
This commit is contained in:
parent
797993c65d
commit
64a3bd6856
@ -262,7 +262,7 @@ impl Display for Bolt11InvoiceDescription {
|
||||
///
|
||||
/// This is not exported to bindings users as we don't have a good way to map the reference lifetimes making this
|
||||
/// practically impossible to use safely in languages like C.
|
||||
#[derive(Eq, PartialEq, Debug, Clone, Ord, PartialOrd)]
|
||||
#[derive(Eq, PartialEq, Debug, Clone, Copy, Ord, PartialOrd)]
|
||||
pub enum Bolt11InvoiceDescriptionRef<'f> {
|
||||
/// Reference to the directly supplied description in the invoice
|
||||
Direct(&'f Description),
|
||||
|
Loading…
Reference in New Issue
Block a user