pub struct PreflightPayOfferRequest {
pub cid: ClientPaymentId,
pub offer: Offer,
pub fallback_amount: Option<Amount>,
}Fields§
§cid: ClientPaymentIdThe user-provided idempotency id for this payment.
offer: OfferThe offer we want to pay.
fallback_amount: Option<Amount>Specifies the amount we will pay if the offer to be paid is
amountless. This field must be Some for amountless offers.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PreflightPayOfferRequest
impl<'de> Deserialize<'de> for PreflightPayOfferRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreflightPayOfferRequest
impl RefUnwindSafe for PreflightPayOfferRequest
impl Send for PreflightPayOfferRequest
impl Sync for PreflightPayOfferRequest
impl Unpin for PreflightPayOfferRequest
impl UnsafeUnpin for PreflightPayOfferRequest
impl UnwindSafe for PreflightPayOfferRequest
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