pub enum Rule {
Show 61 variants
EOI,
nl,
hexa_upper,
base58,
base64,
no_zero_u_int,
u_int,
hash,
currency,
pubkey,
uid,
block_id,
blockstamp,
ed25519_sig,
v10,
idty_v10,
idty,
membership_in,
membership_out,
membership_v10,
membership,
cert_v10,
cert,
revoc_v10,
revoc,
tx_locktime,
tx_amount,
tx_amount_base,
du_block_id,
tx_index,
input_index,
issuer_index,
xhx_secret,
csv_duration,
cltv_timestamp,
tx_input,
tx_input_du,
tx_input_tx,
tx_unlock,
unlock_cond,
unlock_sig,
unlock_xhx,
output_single_cond,
output_cond_sig,
output_cond_xhx,
output_cond_csv,
output_cond_cltv,
operation,
output_cond_op_and,
output_cond_op_or,
output_conds,
output_conds_expr,
output_conds_brackets_expr,
term,
tx_output,
tx_comment_char,
tx_comment,
tx_v10,
tx,
document_v10,
document,
}Variants§
EOI
End-of-input
nl
hexa_upper
base58
base64
no_zero_u_int
u_int
hash
currency
pubkey
uid
block_id
blockstamp
ed25519_sig
v10
idty_v10
idty
membership_in
membership_out
membership_v10
membership
cert_v10
cert
revoc_v10
revoc
tx_locktime
tx_amount
tx_amount_base
du_block_id
tx_index
input_index
issuer_index
xhx_secret
csv_duration
cltv_timestamp
tx_input
tx_input_du
tx_input_tx
tx_unlock
unlock_cond
unlock_sig
unlock_xhx
output_single_cond
output_cond_sig
output_cond_xhx
output_cond_csv
output_cond_cltv
operation
output_cond_op_and
output_cond_op_or
output_conds
output_conds_expr
output_conds_brackets_expr
term
tx_output
tx_comment_char
tx_comment
tx_v10
tx
document_v10
document
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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