pub struct Debt {
pub debtor: String,
pub amount: BigRational,
pub creditor: String,
}
Fields§
§debtor: String
§amount: BigRational
§creditor: String
Trait Implementations§
impl Eq for Debt
impl StructuralPartialEq for Debt
Auto Trait Implementations§
impl Freeze for Debt
impl RefUnwindSafe for Debt
impl Send for Debt
impl Sync for Debt
impl Unpin for Debt
impl UnwindSafe for Debt
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