pub enum FactValue {
String(String),
Integer(i64),
Float(f64),
Boolean(bool),
Array(Vec<FactValue>),
Null,
}Expand description
Strongly-typed fact value
Variants§
String(String)
String value
Integer(i64)
Integer value (i64)
Float(f64)
Float value (f64)
Boolean(bool)
Boolean value
Array(Vec<FactValue>)
Array of values
Null
Null/None value
Implementations§
Trait Implementations§
impl StructuralPartialEq for FactValue
Auto Trait Implementations§
impl Freeze for FactValue
impl RefUnwindSafe for FactValue
impl Send for FactValue
impl Sync for FactValue
impl Unpin for FactValue
impl UnwindSafe for FactValue
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