pub enum ExpressionTerm {
Show 22 variants
NamedNode(NamedNode),
BlankNode(BlankNode),
StringLiteral(String),
LangStringLiteral {
value: String,
language: String,
},
BooleanLiteral(Boolean),
IntegerLiteral(Integer),
DecimalLiteral(Decimal),
FloatLiteral(Float),
DoubleLiteral(Double),
DateTimeLiteral(DateTime),
DateLiteral(Date),
TimeLiteral(Time),
GYearLiteral(GYear),
GYearMonthLiteral(GYearMonth),
GMonthLiteral(GMonth),
GMonthDayLiteral(GMonthDay),
GDayLiteral(GDay),
DurationLiteral(Duration),
YearMonthDurationLiteral(YearMonthDuration),
DayTimeDurationLiteral(DayTimeDuration),
OtherTypedLiteral {
value: String,
datatype: NamedNode,
},
Triple(Box<ExpressionTriple>),
}
Expand description
A term as understood by the expression evaluator
Variants§
NamedNode(NamedNode)
BlankNode(BlankNode)
StringLiteral(String)
LangStringLiteral
BooleanLiteral(Boolean)
IntegerLiteral(Integer)
DecimalLiteral(Decimal)
FloatLiteral(Float)
DoubleLiteral(Double)
DateTimeLiteral(DateTime)
DateLiteral(Date)
TimeLiteral(Time)
GYearLiteral(GYear)
GYearMonthLiteral(GYearMonth)
GMonthLiteral(GMonth)
GMonthDayLiteral(GMonthDay)
GDayLiteral(GDay)
DurationLiteral(Duration)
YearMonthDurationLiteral(YearMonthDuration)
DayTimeDurationLiteral(DayTimeDuration)
OtherTypedLiteral
Triple(Box<ExpressionTriple>)
Trait Implementations§
Source§impl Clone for ExpressionTerm
impl Clone for ExpressionTerm
Source§fn clone(&self) -> ExpressionTerm
fn clone(&self) -> ExpressionTerm
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 From<ExpressionTerm> for Term
impl From<ExpressionTerm> for Term
Source§fn from(term: ExpressionTerm) -> Self
fn from(term: ExpressionTerm) -> Self
Converts to this type from the input type.
Source§impl From<ExpressionTriple> for ExpressionTerm
impl From<ExpressionTriple> for ExpressionTerm
Source§fn from(triple: ExpressionTriple) -> Self
fn from(triple: ExpressionTriple) -> Self
Converts to this type from the input type.
Source§impl From<NamedNode> for ExpressionTerm
impl From<NamedNode> for ExpressionTerm
Source§impl From<Term> for ExpressionTerm
impl From<Term> for ExpressionTerm
Source§impl From<bool> for ExpressionTerm
impl From<bool> for ExpressionTerm
Source§impl Hash for ExpressionTerm
impl Hash for ExpressionTerm
Source§impl PartialEq for ExpressionTerm
impl PartialEq for ExpressionTerm
impl Eq for ExpressionTerm
Auto Trait Implementations§
impl Freeze for ExpressionTerm
impl RefUnwindSafe for ExpressionTerm
impl Send for ExpressionTerm
impl Sync for ExpressionTerm
impl Unpin for ExpressionTerm
impl UnwindSafe for ExpressionTerm
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