Enum breez_sdk_liquid::model::PayOnchainAmount
source · pub enum PayOnchainAmount {
Receiver {
amount_sat: u64,
},
Drain,
}
Variants§
Receiver
The amount in satoshi that will be received
Drain
Indicates that all available funds should be sent
Trait Implementations§
source§impl Clone for PayOnchainAmount
impl Clone for PayOnchainAmount
source§fn clone(&self) -> PayOnchainAmount
fn clone(&self) -> PayOnchainAmount
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 PayOnchainAmount
impl Debug for PayOnchainAmount
source§impl IntoDart for PayOnchainAmount
impl IntoDart for PayOnchainAmount
source§impl IntoIntoDart<PayOnchainAmount> for PayOnchainAmount
impl IntoIntoDart<PayOnchainAmount> for PayOnchainAmount
fn into_into_dart(self) -> PayOnchainAmount
source§impl Serialize for PayOnchainAmount
impl Serialize for PayOnchainAmount
impl IntoDartExceptPrimitive for PayOnchainAmount
Auto Trait Implementations§
impl Freeze for PayOnchainAmount
impl RefUnwindSafe for PayOnchainAmount
impl Send for PayOnchainAmount
impl Sync for PayOnchainAmount
impl Unpin for PayOnchainAmount
impl UnwindSafe for PayOnchainAmount
Blanket Implementations§
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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