pub struct MintQuoteBolt12Request {
pub amount: Option<Amount>,
pub unit: CurrencyUnit,
pub description: Option<String>,
pub pubkey: PublicKey,
}
Expand description
Mint quote request [NUT-24]
Fields§
§amount: Option<Amount>
Amount
unit: CurrencyUnit
Unit wallet would like to pay with
description: Option<String>
Memo to create the invoice with
pubkey: PublicKey
Pubkey
Trait Implementations§
Source§impl Clone for MintQuoteBolt12Request
impl Clone for MintQuoteBolt12Request
Source§fn clone(&self) -> MintQuoteBolt12Request
fn clone(&self) -> MintQuoteBolt12Request
Returns a duplicate 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 MintQuoteBolt12Request
impl Debug for MintQuoteBolt12Request
Source§impl<'de> Deserialize<'de> for MintQuoteBolt12Request
impl<'de> Deserialize<'de> for MintQuoteBolt12Request
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MintQuoteBolt12Request, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MintQuoteBolt12Request, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MintQuoteBolt12Request
impl Hash for MintQuoteBolt12Request
Source§impl PartialEq for MintQuoteBolt12Request
impl PartialEq for MintQuoteBolt12Request
Source§impl Serialize for MintQuoteBolt12Request
impl Serialize for MintQuoteBolt12Request
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for MintQuoteBolt12Request
impl StructuralPartialEq for MintQuoteBolt12Request
Auto Trait Implementations§
impl Freeze for MintQuoteBolt12Request
impl RefUnwindSafe for MintQuoteBolt12Request
impl Send for MintQuoteBolt12Request
impl Sync for MintQuoteBolt12Request
impl Unpin for MintQuoteBolt12Request
impl UnwindSafe for MintQuoteBolt12Request
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