pub struct FindInvoiceResponse {Show 14 fields
pub checking_id: String,
pub pending: bool,
pub amount: i64,
pub fee: i64,
pub memo: String,
pub time: u64,
pub bolt11: String,
pub preimage: Option<String>,
pub payment_hash: String,
pub expiry: f64,
pub extra: HashMap<String, Value>,
pub wallet_id: String,
pub webhook: Option<String>,
pub webhook_status: Option<String>,
}
Expand description
Find invoice response
Fields§
§checking_id: String
Checking id
pending: bool
Pending (paid)
amount: i64
Amount (sat)
fee: i64
Fee (msat)
memo: String
Memo
time: u64
Time
bolt11: String
Bolt11
preimage: Option<String>
Preimage
payment_hash: String
Payment hash
expiry: f64
Expiry
extra: HashMap<String, Value>
Extra
wallet_id: String
Wallet id
webhook: Option<String>
Webhook url
webhook_status: Option<String>
Webhook status
Trait Implementations§
Source§impl Clone for FindInvoiceResponse
impl Clone for FindInvoiceResponse
Source§fn clone(&self) -> FindInvoiceResponse
fn clone(&self) -> FindInvoiceResponse
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 FindInvoiceResponse
impl Debug for FindInvoiceResponse
Source§impl<'de> Deserialize<'de> for FindInvoiceResponse
impl<'de> Deserialize<'de> for FindInvoiceResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FindInvoiceResponse
impl PartialEq for FindInvoiceResponse
Source§impl Serialize for FindInvoiceResponse
impl Serialize for FindInvoiceResponse
impl StructuralPartialEq for FindInvoiceResponse
Auto Trait Implementations§
impl Freeze for FindInvoiceResponse
impl RefUnwindSafe for FindInvoiceResponse
impl Send for FindInvoiceResponse
impl Sync for FindInvoiceResponse
impl Unpin for FindInvoiceResponse
impl UnwindSafe for FindInvoiceResponse
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more