pub struct MonthlyBalance {
pub year: i32,
pub month: u32,
pub monthly_change: Balance,
pub total: Balance,
}
Fields§
§year: i32
§month: u32
§monthly_change: Balance
§total: Balance
Implementations§
Source§impl MonthlyBalance
impl MonthlyBalance
pub fn new(year: i32, month: u32) -> MonthlyBalance
Trait Implementations§
Source§impl Clone for MonthlyBalance
impl Clone for MonthlyBalance
Source§fn clone(&self) -> MonthlyBalance
fn clone(&self) -> MonthlyBalance
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MonthlyBalance
impl RefUnwindSafe for MonthlyBalance
impl Send for MonthlyBalance
impl Sync for MonthlyBalance
impl Unpin for MonthlyBalance
impl UnwindSafe for MonthlyBalance
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