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 moreimpl Eq for Predicate
impl StructuralEq for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnwindSafe for Predicate
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