pub enum RuntimeValueKind {
Scalar,
Bool,
Int,
Label {
index_name: IndexTypeRef,
variant: IndexVariantName,
},
Struct {
type_name: StructTypeRef,
},
Indexed {
index_name: IndexTypeRef,
},
RangeLabel,
Datetime,
}Expand description
The kind of a RuntimeValue, used in type-mismatch error reporting.
Variants§
Scalar
Bool
Int
Label
Struct
Fields
§
type_name: StructTypeRefIndexed
Fields
§
index_name: IndexTypeRefRangeLabel
Datetime
Trait Implementations§
Source§impl Clone for RuntimeValueKind
impl Clone for RuntimeValueKind
Source§fn clone(&self) -> RuntimeValueKind
fn clone(&self) -> RuntimeValueKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeValueKind
impl Debug for RuntimeValueKind
Source§impl Display for RuntimeValueKind
impl Display for RuntimeValueKind
impl Eq for RuntimeValueKind
Source§impl PartialEq for RuntimeValueKind
impl PartialEq for RuntimeValueKind
Source§fn eq(&self, other: &RuntimeValueKind) -> bool
fn eq(&self, other: &RuntimeValueKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeValueKind
Auto Trait Implementations§
impl Freeze for RuntimeValueKind
impl RefUnwindSafe for RuntimeValueKind
impl Send for RuntimeValueKind
impl Sync for RuntimeValueKind
impl Unpin for RuntimeValueKind
impl UnsafeUnpin for RuntimeValueKind
impl UnwindSafe for RuntimeValueKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.