pub struct MintQuote {
pub id: Uuid,
pub amount: Amount,
pub unit: CurrencyUnit,
pub request: String,
pub state: MintQuoteState,
pub expiry: u64,
pub request_lookup_id: String,
pub pubkey: Option<PublicKey>,
}Expand description
Mint Quote Info
Fields§
§id: UuidQuote id
amount: AmountAmount of quote
unit: CurrencyUnitUnit of quote
request: StringQuote payment request e.g. bolt11
state: MintQuoteStateQuote state
expiry: u64Expiration time of quote
request_lookup_id: StringValue used by ln backend to look up state of request
pubkey: Option<PublicKey>Pubkey
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MintQuote
impl<'de> Deserialize<'de> for MintQuote
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
impl Eq for MintQuote
impl StructuralPartialEq for MintQuote
Auto Trait Implementations§
impl Freeze for MintQuote
impl RefUnwindSafe for MintQuote
impl Send for MintQuote
impl Sync for MintQuote
impl Unpin for MintQuote
impl UnwindSafe for MintQuote
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