pub struct Breakdown {
pub breakdown_type: Option<String>,
pub breakdown_amount: Option<Box<Currency>>,
pub breakdowns: Option<Vec<Breakdown>>,
}Expand description
Breakdown : Breakdown provides details regarding the money movement under the financial transaction. Breakdowns get categorized further into breakdown types, breakdown amounts, and further breakdowns into a hierarchical structure.
Fields§
§breakdown_type: Option<String>The type of charge.
breakdown_amount: Option<Box<Currency>>§breakdowns: Option<Vec<Breakdown>>A list of breakdowns that detail how the total amount is calculated for the transaction.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Breakdown
impl<'de> Deserialize<'de> for Breakdown
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 Breakdown
Auto Trait Implementations§
impl Freeze for Breakdown
impl RefUnwindSafe for Breakdown
impl Send for Breakdown
impl Sync for Breakdown
impl Unpin for Breakdown
impl UnsafeUnpin for Breakdown
impl UnwindSafe for Breakdown
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