pub enum Node {
Amount,
Account,
Payee,
Note,
Date,
Number(BigRational),
Money {
currency: String,
amount: BigRational,
},
UnaryExpr {
op: Unary,
child: Box<Node>,
},
BinaryExpr {
op: Binary,
lhs: Box<Node>,
rhs: Box<Node>,
},
Regex(Regex),
String(String),
}Variants§
Amount
Account
Payee
Note
Date
Number(BigRational)
Money
UnaryExpr
BinaryExpr
Regex(Regex)
String(String)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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