Struct biscuit_auth::datalog::Predicate
source · pub struct Predicate {
pub name: SymbolIndex,
pub terms: Vec<Term>,
}Fields§
§name: SymbolIndex§terms: Vec<Term>Implementations§
Trait Implementations§
source§impl Convert<Predicate> for Predicate
impl Convert<Predicate> for Predicate
fn convert(&self, symbols: &mut SymbolTable) -> Predicate
fn convert_from(p: &Predicate, symbols: &SymbolTable) -> Result<Self, Format>
fn translate( f: &T, from_symbols: &SymbolTable, to_symbols: &mut SymbolTable ) -> Result<T, Format>
source§impl Ord for Predicate
impl Ord for Predicate
source§impl PartialEq<Predicate> for Predicate
impl PartialEq<Predicate> for Predicate
source§impl PartialOrd<Predicate> for Predicate
impl PartialOrd<Predicate> for Predicate
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