pub struct BitPayInvoiceRequestModel {
pub user_id: Option<Uuid>,
pub organization_id: Option<Uuid>,
pub provider_id: Option<Uuid>,
pub credit: Option<bool>,
pub amount: f64,
pub return_url: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
}
Fields§
§user_id: Option<Uuid>
§organization_id: Option<Uuid>
§provider_id: Option<Uuid>
§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
impl StructuralPartialEq for BitPayInvoiceRequestModel
Auto Trait Implementations§
impl Freeze for BitPayInvoiceRequestModel
impl RefUnwindSafe for BitPayInvoiceRequestModel
impl Send for BitPayInvoiceRequestModel
impl Sync for BitPayInvoiceRequestModel
impl Unpin for BitPayInvoiceRequestModel
impl UnwindSafe for BitPayInvoiceRequestModel
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