pub struct CustomOutgoingPaymentOptions {
pub method: String,
pub request: String,
pub max_fee_amount: Option<Amount>,
pub timeout_secs: Option<u64>,
pub melt_options: Option<MeltOptions>,
pub extra_json: Option<String>,
}Expand description
Options for custom outgoing payments
Fields§
§method: StringPayment method name
request: StringPayment request string (method-specific format)
max_fee_amount: Option<Amount>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.
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 · 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
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 Eq for CustomOutgoingPaymentOptions
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