Enum biscuit_auth::builder::Term
source · pub enum Term {
Variable(String),
Integer(i64),
Str(String),
Date(u64),
Bytes(Vec<u8>),
Bool(bool),
Set(BTreeSet<Term>),
Parameter(String),
}Expand description
Builder for a Datalog value
Variants§
Variable(String)
Integer(i64)
Str(String)
Date(u64)
Bytes(Vec<u8>)
Bool(bool)
Set(BTreeSet<Term>)
Parameter(String)
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 From<SystemTime> for Term
impl From<SystemTime> for Term
source§fn from(t: SystemTime) -> Self
fn from(t: SystemTime) -> Self
Converts to this type from the input type.
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