pub struct CustomOutgoingPaymentOptions {
pub method: String,
pub request: String,
pub max_fee_amount: Option<Amount<CurrencyUnit>>,
pub timeout_secs: Option<u64>,
pub melt_options: Option<MeltOptions>,
pub extra_json: Option<String>,
pub quote_id: QuoteId,
}Expand description
Options for custom outgoing payments
Fields§
§method: StringPayment method name
request: StringPayment request string (method-specific format)
max_fee_amount: Option<Amount<CurrencyUnit>>Maximum fee amount allowed for the payment
timeout_secs: Option<u64>Optional timeout in seconds
melt_options: Option<MeltOptions>Melt options
extra_json: Option<String>Extra payment-method-specific fields as JSON string
These fields are passed through to the payment processor for method-specific validation.
quote_id: QuoteIdThe mint’s quote id for this melt. Custom backends should use this
as the stable correlation key between get_payment_quote and
make_payment (and any later check_outgoing_payment polls) — it
is the only field guaranteed to be unique per melt without relying
on wallet-supplied uniqueness in request.
Trait Implementations§
Source§impl Clone for CustomOutgoingPaymentOptions
impl Clone for CustomOutgoingPaymentOptions
Source§fn clone(&self) -> CustomOutgoingPaymentOptions
fn clone(&self) -> CustomOutgoingPaymentOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomOutgoingPaymentOptions
impl Debug for CustomOutgoingPaymentOptions
impl Eq for CustomOutgoingPaymentOptions
Source§impl Hash for CustomOutgoingPaymentOptions
impl Hash for CustomOutgoingPaymentOptions
Source§impl PartialEq for CustomOutgoingPaymentOptions
impl PartialEq for CustomOutgoingPaymentOptions
Source§fn eq(&self, other: &CustomOutgoingPaymentOptions) -> bool
fn eq(&self, other: &CustomOutgoingPaymentOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CustomOutgoingPaymentOptions
Auto Trait Implementations§
impl Freeze for CustomOutgoingPaymentOptions
impl RefUnwindSafe for CustomOutgoingPaymentOptions
impl Send for CustomOutgoingPaymentOptions
impl Sync for CustomOutgoingPaymentOptions
impl Unpin for CustomOutgoingPaymentOptions
impl UnsafeUnpin for CustomOutgoingPaymentOptions
impl UnwindSafe for CustomOutgoingPaymentOptions
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