pub struct PrepareBuyBitcoinRequest {
pub provider: BuyBitcoinProvider,
pub amount_sat: u64,
}
Expand description
An argument when calling crate::sdk::LiquidSdk::prepare_buy_bitcoin.
Fields§
§provider: BuyBitcoinProvider
§amount_sat: u64
Trait Implementations§
source§impl Debug for PrepareBuyBitcoinRequest
impl Debug for PrepareBuyBitcoinRequest
source§impl IntoDart for PrepareBuyBitcoinRequest
impl IntoDart for PrepareBuyBitcoinRequest
source§impl IntoIntoDart<PrepareBuyBitcoinRequest> for PrepareBuyBitcoinRequest
impl IntoIntoDart<PrepareBuyBitcoinRequest> for PrepareBuyBitcoinRequest
fn into_into_dart(self) -> PrepareBuyBitcoinRequest
source§impl Serialize for PrepareBuyBitcoinRequest
impl Serialize for PrepareBuyBitcoinRequest
impl IntoDartExceptPrimitive for PrepareBuyBitcoinRequest
Auto Trait Implementations§
impl Freeze for PrepareBuyBitcoinRequest
impl RefUnwindSafe for PrepareBuyBitcoinRequest
impl Send for PrepareBuyBitcoinRequest
impl Sync for PrepareBuyBitcoinRequest
impl Unpin for PrepareBuyBitcoinRequest
impl UnwindSafe for PrepareBuyBitcoinRequest
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