pub enum Rule {
Show 110 variants
EOI,
journal,
blank_line,
directives,
journal_comment,
directive,
include,
glob,
price,
commodity,
commodity_spec,
commodity_in_directive,
payee_dir,
tag_dir,
account_dir,
commodity_property,
payee_property,
account_property,
tag_property,
property_value,
alias,
note,
format,
check,
assert,
isin,
iban,
country,
payee_subdirective,
flag,
default,
transaction_head,
automated_transaction_head,
transaction,
automated_transaction,
transaction_date,
effective_date,
code,
status,
quote,
payee,
tag,
description,
automated_description,
comment,
comment_content,
posting,
automated_posting,
amount,
cost,
balance,
posting_kind,
real,
virtual_no_balance,
virtual_balance,
account,
date,
time,
datetime,
date_sep,
year,
month,
day,
hour,
minute,
second,
value_expr,
expr,
or_expr,
and_expr,
comparison_expr,
additive_expr,
multiplicative_expr,
primary,
term,
money,
currency,
regex,
string,
reserved,
unquoted,
currency_parts,
unquoted_no_number,
variable,
number,
bigint,
ws,
sep,
end,
add,
mult,
and,
or,
unary,
function,
comparison,
eq,
ne,
gt,
ge,
le,
lt,
decimal_part,
decimal_point,
number_separator,
integer_part,
currency_format_positive,
currency_format,
space,
currency_string,
}Variants§
EOI
End-of-input
journal
blank_line
directives
journal_comment
directive
include
glob
price
commodity
commodity_spec
commodity_in_directive
payee_dir
tag_dir
account_dir
commodity_property
payee_property
account_property
tag_property
property_value
alias
note
format
check
assert
isin
iban
country
payee_subdirective
flag
default
transaction_head
automated_transaction_head
transaction
automated_transaction
transaction_date
effective_date
code
status
quote
payee
tag
description
automated_description
comment
comment_content
posting
automated_posting
amount
cost
balance
posting_kind
real
virtual_no_balance
virtual_balance
account
date
time
datetime
date_sep
year
month
day
hour
minute
second
value_expr
expr
or_expr
and_expr
comparison_expr
additive_expr
multiplicative_expr
primary
term
money
currency
regex
string
reserved
unquoted
currency_parts
unquoted_no_number
variable
number
bigint
ws
sep
end
add
mult
and
or
unary
function
comparison
eq
ne
gt
ge
le
lt
decimal_part
decimal_point
number_separator
integer_part
currency_format_positive
currency_format
space
currency_string
Implementations§
Trait Implementations§
impl Copy for Rule
impl Eq for Rule
Source§impl Ord for Rule
impl Ord for Rule
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parser<Rule> for GrammarParser
impl Parser<Rule> for GrammarParser
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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