pub struct DailyForecast {
pub date: NaiveDate,
pub amount_due: Decimal,
pub invoice_count: u32,
pub discount_available: Decimal,
pub vendor_count: u32,
pub vendors: Vec<String>,
}Expand description
Daily forecast entry.
Fields§
§date: NaiveDateDate.
amount_due: DecimalAmount due.
invoice_count: u32Invoice count.
discount_available: DecimalDiscount available if paid today.
vendor_count: u32Number of vendors.
vendors: Vec<String>Vendor IDs.
Trait Implementations§
Source§impl Clone for DailyForecast
impl Clone for DailyForecast
Source§fn clone(&self) -> DailyForecast
fn clone(&self) -> DailyForecast
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 moreSource§impl Debug for DailyForecast
impl Debug for DailyForecast
Source§impl<'de> Deserialize<'de> for DailyForecast
impl<'de> Deserialize<'de> for DailyForecast
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 DailyForecast
impl RefUnwindSafe for DailyForecast
impl Send for DailyForecast
impl Sync for DailyForecast
impl Unpin for DailyForecast
impl UnwindSafe for DailyForecast
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