pub struct SignInvoiceOpts<'a> {
pub bolt11: &'a str,
pub did: &'a str,
pub private_key: &'a [u8; 32],
pub price_msat: u64,
pub resource: &'a str,
pub expires_at: &'a str,
pub nonce: &'a [u8],
}Fields§
§bolt11: &'a str§did: &'a str§private_key: &'a [u8; 32]§price_msat: u64§resource: &'a str§expires_at: &'a str§nonce: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for SignInvoiceOpts<'a>
impl<'a> RefUnwindSafe for SignInvoiceOpts<'a>
impl<'a> Send for SignInvoiceOpts<'a>
impl<'a> Sync for SignInvoiceOpts<'a>
impl<'a> Unpin for SignInvoiceOpts<'a>
impl<'a> UnsafeUnpin for SignInvoiceOpts<'a>
impl<'a> UnwindSafe for SignInvoiceOpts<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more