Struct biscuit_auth::builder::Predicate
source · pub struct Predicate {
pub name: String,
pub terms: Vec<Term>,
}Expand description
Builder for a Datalog dicate, used in facts and rules
Fields§
§name: String§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 PartialEq for Predicate
impl PartialEq for Predicate
impl Eq 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