pub struct PrepareSendPaymentRequest {
pub payment_request: String,
pub amount: Option<u128>,
pub token_identifier: Option<String>,
}Fields§
§payment_request: String§amount: Option<u128>Amount to send. By default is denominated in sats. If a token identifier is provided, the amount will be denominated in the token base units.
token_identifier: Option<String>If provided, the payment will be for a token May only be provided if the payment request is a spark address
Auto Trait Implementations§
impl Freeze for PrepareSendPaymentRequest
impl RefUnwindSafe for PrepareSendPaymentRequest
impl Send for PrepareSendPaymentRequest
impl Sync for PrepareSendPaymentRequest
impl Unpin for PrepareSendPaymentRequest
impl UnwindSafe for PrepareSendPaymentRequest
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>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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