Enum beancount_parser::transaction::PriceType
source · pub enum PriceType {
Unit,
Total,
}Expand description
A price type
A price associated to an amount is either per-unit (@) or a total price (@@)
Variants§
Trait Implementations§
source§impl PartialEq<PriceType> for PriceType
impl PartialEq<PriceType> for PriceType
impl Copy for PriceType
impl Eq for PriceType
impl StructuralEq for PriceType
impl StructuralPartialEq for PriceType
Auto Trait Implementations§
impl RefUnwindSafe for PriceType
impl Send for PriceType
impl Sync for PriceType
impl Unpin for PriceType
impl UnwindSafe for PriceType
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