Struct beancount_parser_lima::Options
source · pub struct Options<'a> { /* private fields */ }
Expand description
All options read in from option
pragmas, excluding those for internal processing only.
Implementations§
source§impl<'a> Options<'a>
impl<'a> Options<'a>
pub fn account_type_name( &self, account_type: AccountType ) -> &AccountTypeName<'_>
pub fn title(&self) -> &str
pub fn account_previous_balances(&self) -> &Subaccount<'_>
pub fn account_previous_earnings(&self) -> &Subaccount<'_>
pub fn account_previous_conversions(&self) -> &Subaccount<'_>
pub fn account_current_earnings(&self) -> &Subaccount<'_>
pub fn account_current_conversions(&self) -> &Subaccount<'_>
pub fn account_unrealized_gains(&self) -> &Subaccount<'_>
pub fn account_rounding(&self) -> Option<&Subaccount<'_>>
pub fn conversion_currency(&self) -> &Currency<'_>
pub fn inferred_tolerance_default( &self, currency: &Currency<'_> ) -> Option<Decimal>
sourcepub fn inferred_tolerance_defaults(
&self
) -> impl Iterator<Item = (Option<Currency<'_>>, Decimal)>
pub fn inferred_tolerance_defaults( &self ) -> impl Iterator<Item = (Option<Currency<'_>>, Decimal)>
return the tolerance defaults for all currencies, with None as the ‘any’ currency
pub fn inferred_tolerance_multiplier(&self) -> Decimal
pub fn infer_tolerance_from_cost(&self) -> bool
pub fn documents(&self) -> impl Iterator<Item = &PathBuf>
pub fn operating_currency(&self) -> impl Iterator<Item = &Currency<'_>>
pub fn render_commas(&self) -> bool
pub fn booking_method(&self) -> Booking
pub fn plugin_processing_mode(&self) -> PluginProcessingMode
pub fn long_string_maxlines(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Options<'a>
impl<'a> RefUnwindSafe for Options<'a>
impl<'a> Send for Options<'a>
impl<'a> Sync for Options<'a>
impl<'a> Unpin for Options<'a>
impl<'a> UnwindSafe for Options<'a>
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