pub struct BasicSummaryEntry {
pub key: Option<String>,
pub title: Option<String>,
pub monetary_value: Option<f64>,
pub currency_id: Option<String>,
pub currency_code: Option<String>,
pub currency_symbol: Option<String>,
pub currency_decimal_places: Option<i32>,
pub no_available_budgets: Option<bool>,
pub value_parsed: Option<String>,
pub local_icon: Option<String>,
pub sub_title: Option<String>,
}Fields§
§key: Option<String>This is a reference to the type of info shared, not influenced by translations or user preferences. The EUR value is a reference to the currency code. Possibilities are: balance-in-ABC, spent-in-ABC, earned-in-ABC, bills-paid-in-ABC, bills-unpaid-in-ABC, left-to-spend-in-ABC and net-worth-in-ABC.
title: Option<String>A translated title for the information shared.
monetary_value: Option<f64>The amount as a float.
currency_id: Option<String>The currency ID of the associated currency.
currency_code: Option<String>§currency_symbol: Option<String>§currency_decimal_places: Option<i32>Number of decimals for the associated currency.
no_available_budgets: Option<bool>True if there are no available budgets available.
value_parsed: Option<String>The amount formatted according to the users locale
local_icon: Option<String>Reference to a font-awesome icon without the fa- part.
sub_title: Option<String>A short explanation of the amounts origin. Already formatted according to the locale of the user or translated, if relevant.
Implementations§
Source§impl BasicSummaryEntry
impl BasicSummaryEntry
pub fn new() -> BasicSummaryEntry
Trait Implementations§
Source§impl Clone for BasicSummaryEntry
impl Clone for BasicSummaryEntry
Source§impl Debug for BasicSummaryEntry
impl Debug for BasicSummaryEntry
Source§impl Default for BasicSummaryEntry
impl Default for BasicSummaryEntry
Source§impl<'de> Deserialize<'de> for BasicSummaryEntry
impl<'de> Deserialize<'de> for BasicSummaryEntry
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
Source§impl Display for BasicSummaryEntry
impl Display for BasicSummaryEntry
Source§impl PartialEq for BasicSummaryEntry
impl PartialEq for BasicSummaryEntry
Source§impl Serialize for BasicSummaryEntry
impl Serialize for BasicSummaryEntry
impl StructuralPartialEq for BasicSummaryEntry
Auto Trait Implementations§
impl Freeze for BasicSummaryEntry
impl RefUnwindSafe for BasicSummaryEntry
impl Send for BasicSummaryEntry
impl Sync for BasicSummaryEntry
impl Unpin for BasicSummaryEntry
impl UnsafeUnpin for BasicSummaryEntry
impl UnwindSafe for BasicSummaryEntry
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