pub struct PreflightPayOfferRequest {
pub cid: ClientPaymentId,
pub offer: Offer,
pub amount: Amount,
}Fields§
§cid: ClientPaymentIdThe user-provided idempotency id for this payment.
offer: OfferThe offer we want to pay.
amount: AmountSpecifies the amount we will pay. If the offer specifies a minimum
amount, amount should satisfy that minimum.
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