pub struct BillingTransaction {
pub created_date: Option<String>,
pub amount: Option<f64>,
pub refunded: Option<bool>,
pub partially_refunded: Option<bool>,
pub refunded_amount: Option<f64>,
pub type: Option<TransactionType>,
pub payment_method_type: Option<PaymentMethodType>,
pub details: Option<String>,
}
Fields§
§created_date: Option<String>
§amount: Option<f64>
§refunded: Option<bool>
§partially_refunded: Option<bool>
§refunded_amount: Option<f64>
§type: Option<TransactionType>
§payment_method_type: Option<PaymentMethodType>
§details: Option<String>
Implementations§
Source§impl BillingTransaction
impl BillingTransaction
pub fn new() -> BillingTransaction
Trait Implementations§
Source§impl Clone for BillingTransaction
impl Clone for BillingTransaction
Source§fn clone(&self) -> BillingTransaction
fn clone(&self) -> BillingTransaction
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 BillingTransaction
impl Debug for BillingTransaction
Source§impl Default for BillingTransaction
impl Default for BillingTransaction
Source§fn default() -> BillingTransaction
fn default() -> BillingTransaction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingTransaction
impl<'de> Deserialize<'de> for BillingTransaction
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 for BillingTransaction
impl PartialEq for BillingTransaction
Source§impl Serialize for BillingTransaction
impl Serialize for BillingTransaction
impl StructuralPartialEq for BillingTransaction
Auto Trait Implementations§
impl Freeze for BillingTransaction
impl RefUnwindSafe for BillingTransaction
impl Send for BillingTransaction
impl Sync for BillingTransaction
impl Unpin for BillingTransaction
impl UnwindSafe for BillingTransaction
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