pub enum Field {
Null,
Id(u64),
Bool(bool),
Count(usize),
Int(i64),
Real(f64),
Text(String),
Value(Tagged),
List(Vec<Field>),
Record(Record),
}Expand description
One field value.
Variants§
Null
Absent: an optional field with no value.
Id(u64)
An entity id (bigint in JavaScript, REF on the C tape).
Bool(bool)
A boolean.
Count(usize)
A non-negative count or index (number in JavaScript, INTEGER on
the C tape).
Int(i64)
A 64-bit integer that is data, not a count (bigint in JavaScript).
Real(f64)
A real number that is a resolved parameter, not an IFC value.
Text(String)
Text.
Value(Tagged)
An IFC value in the tagged encoding.
List(Vec<Field>)
A list of fields.
Record(Record)
A nested record.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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