pub struct BitPayInvoiceRequestModel {
pub user_id: Option<String>,
pub organization_id: Option<String>,
pub credit: Option<bool>,
pub amount: f64,
pub return_url: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
}
Fields§
§user_id: Option<String>
§organization_id: Option<String>
§credit: Option<bool>
§amount: f64
§return_url: Option<String>
§name: Option<String>
§email: Option<String>
Implementations§
source§impl BitPayInvoiceRequestModel
impl BitPayInvoiceRequestModel
pub fn new(amount: f64) -> BitPayInvoiceRequestModel
Trait Implementations§
source§impl Clone for BitPayInvoiceRequestModel
impl Clone for BitPayInvoiceRequestModel
source§fn clone(&self) -> BitPayInvoiceRequestModel
fn clone(&self) -> BitPayInvoiceRequestModel
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 BitPayInvoiceRequestModel
impl Debug for BitPayInvoiceRequestModel
source§impl Default for BitPayInvoiceRequestModel
impl Default for BitPayInvoiceRequestModel
source§fn default() -> BitPayInvoiceRequestModel
fn default() -> BitPayInvoiceRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BitPayInvoiceRequestModel
impl<'de> Deserialize<'de> for BitPayInvoiceRequestModel
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<BitPayInvoiceRequestModel> for BitPayInvoiceRequestModel
impl PartialEq<BitPayInvoiceRequestModel> for BitPayInvoiceRequestModel
source§fn eq(&self, other: &BitPayInvoiceRequestModel) -> bool
fn eq(&self, other: &BitPayInvoiceRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.