@@ -84,6 +84,8 @@ pub(super) const IV_BYTES: &[u8; IV_LEN] = b"LDK Invreq ~~~~~";
8484///
8585/// See [module-level documentation] for usage.
8686///
87+ /// This is not exported to bindings users as builder patterns don't map outside of move semantics.
88+ ///
8789/// [module-level documentation]: self
8890pub struct InvoiceRequestBuilder < ' a , ' b , P : PayerIdStrategy , T : secp256k1:: Signing > {
8991 offer : & ' a Offer ,
@@ -94,12 +96,18 @@ pub struct InvoiceRequestBuilder<'a, 'b, P: PayerIdStrategy, T: secp256k1::Signi
9496}
9597
9698/// Indicates how [`InvoiceRequest::payer_id`] will be set.
99+ ///
100+ /// This is not exported to bindings users as builder patterns don't map outside of move semantics.
97101pub trait PayerIdStrategy { }
98102
99103/// [`InvoiceRequest::payer_id`] will be explicitly set.
104+ ///
105+ /// This is not exported to bindings users as builder patterns don't map outside of move semantics.
100106pub struct ExplicitPayerId { }
101107
102108/// [`InvoiceRequest::payer_id`] will be derived.
109+ ///
110+ /// This is not exported to bindings users as builder patterns don't map outside of move semantics.
103111pub struct DerivedPayerId { }
104112
105113impl PayerIdStrategy for ExplicitPayerId { }
@@ -340,6 +348,8 @@ pub struct UnsignedInvoiceRequest<'a> {
340348
341349impl < ' a > UnsignedInvoiceRequest < ' a > {
342350 /// Signs the invoice request using the given function.
351+ ///
352+ /// This is not exported to bindings users as functions are not yet mapped.
343353 pub fn sign < F , E > ( self , sign : F ) -> Result < InvoiceRequest , SignError < E > >
344354 where
345355 F : FnOnce ( & Message ) -> Result < Signature , E >
@@ -465,6 +475,8 @@ impl InvoiceRequest {
465475 /// See [`InvoiceRequest::respond_with_no_std`] for further details where the aforementioned
466476 /// creation time is used for the `created_at` parameter.
467477 ///
478+ /// This is not exported to bindings users as builder patterns don't map outside of move semantics.
479+ ///
468480 /// [`Duration`]: core::time::Duration
469481 #[ cfg( feature = "std" ) ]
470482 pub fn respond_with (
@@ -493,6 +505,8 @@ impl InvoiceRequest {
493505 ///
494506 /// Errors if the request contains unknown required features.
495507 ///
508+ /// This is not exported to bindings users as builder patterns don't map outside of move semantics.
509+ ///
496510 /// [`Invoice::created_at`]: crate::offers::invoice::Invoice::created_at
497511 pub fn respond_with_no_std (
498512 & self , payment_paths : Vec < ( BlindedPath , BlindedPayInfo ) > , payment_hash : PaymentHash ,
@@ -511,6 +525,8 @@ impl InvoiceRequest {
511525 ///
512526 /// See [`InvoiceRequest::respond_with`] for further details.
513527 ///
528+ /// This is not exported to bindings users as builder patterns don't map outside of move semantics.
529+ ///
514530 /// [`Invoice`]: crate::offers::invoice::Invoice
515531 #[ cfg( feature = "std" ) ]
516532 pub fn verify_and_respond_using_derived_keys < T : secp256k1:: Signing > (
@@ -532,6 +548,8 @@ impl InvoiceRequest {
532548 ///
533549 /// See [`InvoiceRequest::respond_with_no_std`] for further details.
534550 ///
551+ /// This is not exported to bindings users as builder patterns don't map outside of move semantics.
552+ ///
535553 /// [`Invoice`]: crate::offers::invoice::Invoice
536554 pub fn verify_and_respond_using_derived_keys_no_std < T : secp256k1:: Signing > (
537555 & self , payment_paths : Vec < ( BlindedPath , BlindedPayInfo ) > , payment_hash : PaymentHash ,
0 commit comments