pub struct ReceivePaymentRequest {
pub prepare_response: PrepareReceiveResponse,
pub description: Option<String>,
pub use_description_hash: Option<bool>,
}
Expand description
An argument when calling crate::sdk::LiquidSdk::receive_payment.
Fields§
§prepare_response: PrepareReceiveResponse
§description: Option<String>
The description for this payment request.
use_description_hash: Option<bool>
If set to true, then the hash of the description will be used.
Trait Implementations§
source§impl Debug for ReceivePaymentRequest
impl Debug for ReceivePaymentRequest
source§impl IntoDart for ReceivePaymentRequest
impl IntoDart for ReceivePaymentRequest
source§impl IntoIntoDart<ReceivePaymentRequest> for ReceivePaymentRequest
impl IntoIntoDart<ReceivePaymentRequest> for ReceivePaymentRequest
fn into_into_dart(self) -> ReceivePaymentRequest
source§impl Serialize for ReceivePaymentRequest
impl Serialize for ReceivePaymentRequest
impl IntoDartExceptPrimitive for ReceivePaymentRequest
Auto Trait Implementations§
impl Freeze for ReceivePaymentRequest
impl RefUnwindSafe for ReceivePaymentRequest
impl Send for ReceivePaymentRequest
impl Sync for ReceivePaymentRequest
impl Unpin for ReceivePaymentRequest
impl UnwindSafe for ReceivePaymentRequest
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