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 moresource§impl TryFrom<Term> for SystemTime
impl TryFrom<Term> for SystemTime
impl Eq for Term
impl StructuralEq for Term
impl StructuralPartialEq for Term
Auto Trait Implementations§
impl RefUnwindSafe for Term
impl Send for Term
impl Sync for Term
impl Unpin for Term
impl UnwindSafe for Term
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