pub struct DebtByCurrency {
pub currency: Option<String>,
pub sum: Option<Decimal>,
}Expand description
Debt in one currency.
Fields§
§currency: Option<String>Currency.
sum: Option<Decimal>Amount of the debt.
Trait Implementations§
Source§impl Clone for DebtByCurrency
impl Clone for DebtByCurrency
Source§fn clone(&self) -> DebtByCurrency
fn clone(&self) -> DebtByCurrency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebtByCurrency
impl Debug for DebtByCurrency
Source§impl<'de> Deserialize<'de> for DebtByCurrency
impl<'de> Deserialize<'de> for DebtByCurrency
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 DebtByCurrency
impl RefUnwindSafe for DebtByCurrency
impl Send for DebtByCurrency
impl Sync for DebtByCurrency
impl Unpin for DebtByCurrency
impl UnsafeUnpin for DebtByCurrency
impl UnwindSafe for DebtByCurrency
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