pub struct BuyBitcoinRequest {
pub prepare_response: PrepareBuyBitcoinResponse,
pub redirect_url: Option<String>,
}
Expand description
An argument when calling crate::sdk::LiquidSdk::buy_bitcoin.
Fields§
§prepare_response: PrepareBuyBitcoinResponse
§redirect_url: Option<String>
The optional URL to redirect to after completing the buy.
For Moonpay, see https://dev.moonpay.com/docs/on-ramp-configure-user-journey-params
Trait Implementations§
source§impl Clone for BuyBitcoinRequest
impl Clone for BuyBitcoinRequest
source§fn clone(&self) -> BuyBitcoinRequest
fn clone(&self) -> BuyBitcoinRequest
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 BuyBitcoinRequest
impl Debug for BuyBitcoinRequest
source§impl IntoDart for BuyBitcoinRequest
impl IntoDart for BuyBitcoinRequest
source§impl IntoIntoDart<BuyBitcoinRequest> for BuyBitcoinRequest
impl IntoIntoDart<BuyBitcoinRequest> for BuyBitcoinRequest
fn into_into_dart(self) -> BuyBitcoinRequest
source§impl Serialize for BuyBitcoinRequest
impl Serialize for BuyBitcoinRequest
impl IntoDartExceptPrimitive for BuyBitcoinRequest
Auto Trait Implementations§
impl Freeze for BuyBitcoinRequest
impl RefUnwindSafe for BuyBitcoinRequest
impl Send for BuyBitcoinRequest
impl Sync for BuyBitcoinRequest
impl Unpin for BuyBitcoinRequest
impl UnwindSafe for BuyBitcoinRequest
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