pub enum FinanceEntity {
Commodity(Commodity),
Tag(Tag),
Split(Split),
Transaction(Transaction),
Price(Price),
Account(Account),
}Variants§
Trait Implementations§
Source§impl Debug for FinanceEntity
impl Debug for FinanceEntity
Source§impl From<Account> for FinanceEntity
impl From<Account> for FinanceEntity
Source§impl From<Commodity> for FinanceEntity
impl From<Commodity> for FinanceEntity
Source§impl From<FinanceEntity> for Argument
impl From<FinanceEntity> for Argument
Source§fn from(value: FinanceEntity) -> Self
fn from(value: FinanceEntity) -> Self
Converts to this type from the input type.
Source§impl From<Price> for FinanceEntity
impl From<Price> for FinanceEntity
Source§impl From<Split> for FinanceEntity
impl From<Split> for FinanceEntity
Source§impl From<Tag> for FinanceEntity
impl From<Tag> for FinanceEntity
Source§impl From<Transaction> for FinanceEntity
impl From<Transaction> for FinanceEntity
Source§fn from(value: Transaction) -> Self
fn from(value: Transaction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FinanceEntity
impl RefUnwindSafe for FinanceEntity
impl Send for FinanceEntity
impl Sync for FinanceEntity
impl Unpin for FinanceEntity
impl UnsafeUnpin for FinanceEntity
impl UnwindSafe for FinanceEntity
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more