pub struct PrepareReceiveRequest {
pub payer_amount_sat: Option<u64>,
pub payment_method: PaymentMethod,
}
Expand description
An argument when calling crate::sdk::LiquidSdk::prepare_receive_payment.
Fields§
§payer_amount_sat: Option<u64>
§payment_method: PaymentMethod
Trait Implementations§
source§impl Debug for PrepareReceiveRequest
impl Debug for PrepareReceiveRequest
source§impl IntoDart for PrepareReceiveRequest
impl IntoDart for PrepareReceiveRequest
source§impl IntoIntoDart<PrepareReceiveRequest> for PrepareReceiveRequest
impl IntoIntoDart<PrepareReceiveRequest> for PrepareReceiveRequest
fn into_into_dart(self) -> PrepareReceiveRequest
source§impl Serialize for PrepareReceiveRequest
impl Serialize for PrepareReceiveRequest
impl IntoDartExceptPrimitive for PrepareReceiveRequest
Auto Trait Implementations§
impl Freeze for PrepareReceiveRequest
impl RefUnwindSafe for PrepareReceiveRequest
impl Send for PrepareReceiveRequest
impl Sync for PrepareReceiveRequest
impl Unpin for PrepareReceiveRequest
impl UnwindSafe for PrepareReceiveRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request