pub struct InvoiceRequest {
pub amount: f64,
pub currency: String,
pub buyer_email: String,
pub redirect_url: Url,
pub metadata: Option<HashMap<String, String>>,
}Expand description
Invoice Request
Fields§
§amount: f64§currency: String§buyer_email: String§redirect_url: Url§metadata: Option<HashMap<String, String>>Trait Implementations§
Source§impl Clone for InvoiceRequest
impl Clone for InvoiceRequest
Source§fn clone(&self) -> InvoiceRequest
fn clone(&self) -> InvoiceRequest
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 InvoiceRequest
impl Debug for InvoiceRequest
Source§impl<'de> Deserialize<'de> for InvoiceRequest
impl<'de> Deserialize<'de> for InvoiceRequest
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
Auto Trait Implementations§
impl Freeze for InvoiceRequest
impl RefUnwindSafe for InvoiceRequest
impl Send for InvoiceRequest
impl Sync for InvoiceRequest
impl Unpin for InvoiceRequest
impl UnwindSafe for InvoiceRequest
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