Struct biscuit_auth::builder::DatalogExpression
source · pub struct DatalogExpression {
pub ops: Vec<Op>,
}Fields§
§ops: Vec<Op>Implementations§
source§impl Expression
impl Expression
pub fn evaluate( &self, values: &HashMap<u32, Term>, symbols: &mut TemporarySymbolTable<'_> ) -> Result<Term, Expression>
pub fn print(&self, symbols: &SymbolTable) -> Option<String>
Trait Implementations§
source§impl AsRef<Expression> for Expression
impl AsRef<Expression> for Expression
source§fn as_ref(&self) -> &Expression
fn as_ref(&self) -> &Expression
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for Expression
impl Clone for Expression
source§fn clone(&self) -> Expression
fn clone(&self) -> Expression
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Convert<Expression> for Expression
impl Convert<Expression> for Expression
fn convert(&self, symbols: &mut SymbolTable) -> Expression
fn convert_from(e: &Expression, symbols: &SymbolTable) -> Result<Self, Format>
fn translate( f: &T, from_symbols: &SymbolTable, to_symbols: &mut SymbolTable ) -> Result<T, Format>
source§impl Debug for Expression
impl Debug for Expression
source§impl Hash for Expression
impl Hash for Expression
source§impl PartialEq<Expression> for Expression
impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
fn eq(&self, other: &Expression) -> bool
This method tests for
self and other values to be equal, and is used
by ==.