Struct breez_sdk_liquid::model::PrepareSendRequest
source · pub struct PrepareSendRequest {
pub destination: String,
pub amount: Option<PayAmount>,
}
Expand description
An argument when calling crate::sdk::LiquidSdk::prepare_send_payment.
Fields§
§destination: String
The destination we intend to pay to. Supports BIP21 URIs, BOLT11 invoices and Liquid addresses
amount: Option<PayAmount>
Should only be set when paying directly onchain or to a BIP21 URI where no amount is specified, or when the caller wishes to drain
Trait Implementations§
source§impl Clone for PrepareSendRequest
impl Clone for PrepareSendRequest
source§fn clone(&self) -> PrepareSendRequest
fn clone(&self) -> PrepareSendRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrepareSendRequest
impl Debug for PrepareSendRequest
source§impl IntoDart for PrepareSendRequest
impl IntoDart for PrepareSendRequest
source§impl IntoIntoDart<PrepareSendRequest> for PrepareSendRequest
impl IntoIntoDart<PrepareSendRequest> for PrepareSendRequest
fn into_into_dart(self) -> PrepareSendRequest
source§impl Serialize for PrepareSendRequest
impl Serialize for PrepareSendRequest
impl IntoDartExceptPrimitive for PrepareSendRequest
Auto Trait Implementations§
impl Freeze for PrepareSendRequest
impl RefUnwindSafe for PrepareSendRequest
impl Send for PrepareSendRequest
impl Sync for PrepareSendRequest
impl Unpin for PrepareSendRequest
impl UnwindSafe for PrepareSendRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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