Enum biscuit_auth::datalog::Term
source · pub enum Term {
Variable(u32),
Integer(i64),
Str(SymbolIndex),
Date(u64),
Bytes(Vec<u8>),
Bool(bool),
Set(BTreeSet<Term>),
}Variants§
Variable(u32)
Integer(i64)
Str(SymbolIndex)
Date(u64)
Bytes(Vec<u8>)
Bool(bool)
Set(BTreeSet<Term>)
Trait Implementations§
source§impl Convert<Term> for Term
impl Convert<Term> for Term
fn convert(&self, symbols: &mut SymbolTable) -> Term
fn convert_from(f: &Term, symbols: &SymbolTable) -> Result<Self, Format>
fn translate( f: &T, from_symbols: &SymbolTable, to_symbols: &mut SymbolTable ) -> Result<T, Format>
source§impl Ord for Term
impl Ord for Term
source§impl PartialEq<Term> for Term
impl PartialEq<Term> for Term
source§impl PartialOrd<Term> for Term
impl PartialOrd<Term> for Term
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more