#[non_exhaustive]pub enum DataPayload {
Show 17 variants
Numeric(NumericValues),
Category(CategoryValues),
RawKeys(RawKeyValues),
Boolean(BooleanValues),
Integer(IntegerValues),
Date(DateValues),
Instant(TimeValues),
Duration(DurationValues),
Axis(AxisValues),
Array(ArrayValues),
EstimateStatuses(Arc<[EstimateStatus]>),
HistogramKde(HistogramKde),
HistogramGeometry(HistogramGeometry),
RaincloudGeometry(RaincloudGeometry),
Variables(VariableValues),
KeyColumns(KeyColumns),
AlphaEncoding(AlphaEncoding),
}Expand description
Owned original values as supplied to the native declaration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Numeric(NumericValues)
Actual numeric values.
Category(CategoryValues)
Actual category values.
RawKeys(RawKeyValues)
Actual raw_keys values.
Boolean(BooleanValues)
Actual boolean values.
Integer(IntegerValues)
Actual integer values.
Date(DateValues)
Actual date values.
Instant(TimeValues)
Actual instant values.
Duration(DurationValues)
Actual duration values.
Axis(AxisValues)
Actual axis values.
Array(ArrayValues)
Actual array values.
EstimateStatuses(Arc<[EstimateStatus]>)
Actual estimate_statuses values.
HistogramKde(HistogramKde)
Actual histogram_kde values.
HistogramGeometry(HistogramGeometry)
Actual histogram_geometry values.
RaincloudGeometry(RaincloudGeometry)
Actual raincloud_geometry values.
Variables(VariableValues)
Actual variables values.
KeyColumns(KeyColumns)
Actual key_columns values.
AlphaEncoding(AlphaEncoding)
Actual alpha_encoding values.
Implementations§
Source§impl DataPayload
impl DataPayload
Sourcepub const fn value_type(&self) -> DataValueType
pub const fn value_type(&self) -> DataValueType
The actual payload type.
Trait Implementations§
Source§impl Clone for DataPayload
impl Clone for DataPayload
Auto Trait Implementations§
impl Forget for DataPayload
impl Freeze for DataPayloadwhere
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const ArcInner<[f64]> is !null: Freeze,
PhantomData<ArcInner<[f64]>>: Freeze,
*const ArcInner<[u64]> is !null: Freeze,
PhantomData<ArcInner<[u64]>>: Freeze,
*const ArcInner<(RawKey, Arc<str>)> is !null: Freeze,
PhantomData<ArcInner<(RawKey, Arc<str>)>>: Freeze,
*const ArcInner<SourceInfo> is !null: Freeze,
PhantomData<ArcInner<SourceInfo>>: Freeze,
*const ArcInner<SourceProjection> is !null: Freeze,
PhantomData<ArcInner<SourceProjection>>: Freeze,
*const ArcInner<[String]> is !null: Freeze,
PhantomData<ArcInner<[String]>>: Freeze,
*const ArcInner<[u32]> is !null: Freeze,
PhantomData<ArcInner<[u32]>>: Freeze,
*const ArcInner<KeyValues> is !null: Freeze,
PhantomData<ArcInner<KeyValues>>: Freeze,
*const ArcInner<[Option<u32>]> is !null: Freeze,
PhantomData<ArcInner<[Option<u32>]>>: Freeze,
*const ArcInner<[RawKey]> is !null: Freeze,
PhantomData<ArcInner<[RawKey]>>: Freeze,
*const ArcInner<[bool]> is !null: Freeze,
PhantomData<ArcInner<[bool]>>: Freeze,
*const ArcInner<[Option<ExactInteger>]> is !null: Freeze,
PhantomData<ArcInner<[Option<ExactInteger>]>>: Freeze,
*const ArcInner<[Option<Date>]> is !null: Freeze,
PhantomData<ArcInner<[Option<Date>]>>: Freeze,
*const ArcInner<[Option<Timestamp>]> is !null: Freeze,
PhantomData<ArcInner<[Option<Timestamp>]>>: Freeze,
*const ArcInner<[Option<Duration>]> is !null: Freeze,
PhantomData<ArcInner<[Option<Duration>]>>: Freeze,
*const ArcInner<[Option<f64>]> is !null: Freeze,
PhantomData<ArcInner<[Option<f64>]>>: Freeze,
*const ArcInner<[Option<u8>]> is !null: Freeze,
PhantomData<ArcInner<[Option<u8>]>>: Freeze,
*const ArcInner<[Option<bool>]> is !null: Freeze,
PhantomData<ArcInner<[Option<bool>]>>: Freeze,
*const ArcInner<[Option<RawKey>]> is !null: Freeze,
PhantomData<ArcInner<[Option<RawKey>]>>: Freeze,
*const ArcInner<[Option<Color>]> is !null: Freeze,
PhantomData<ArcInner<[Option<Color>]>>: Freeze,
*const ArcInner<[Option<Text>]> is !null: Freeze,
PhantomData<ArcInner<[Option<Text>]>>: Freeze,
*const ArcInner<[EstimateStatus]> is !null: Freeze,
PhantomData<ArcInner<[EstimateStatus]>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<RaincloudData> is !null: Freeze,
PhantomData<ArcInner<RaincloudData>>: Freeze,
*const ArcInner<RaincloudScience> is !null: Freeze,
PhantomData<ArcInner<RaincloudScience>>: Freeze,
*const ArcInner<[NamedNumericValues]> is !null: Freeze,
PhantomData<ArcInner<[NamedNumericValues]>>: Freeze,
*const ArcInner<[NamedKeyValues]> is !null: Freeze,
PhantomData<ArcInner<[NamedKeyValues]>>: Freeze,
*const ArcInner<String> is !null: Freeze,
PhantomData<ArcInner<String>>: Freeze,
*const ArcInner<AlphaData> is !null: Freeze,
PhantomData<ArcInner<AlphaData>>: Freeze,
*const ArcInner<AlphaDeclaration> is !null: Freeze,
PhantomData<ArcInner<AlphaDeclaration>>: Freeze,
*const ArcInner<SelectorTable> is !null: Freeze,
PhantomData<ArcInner<SelectorTable>>: Freeze,
*const ArcInner<BinTable> is !null: Freeze,
PhantomData<ArcInner<BinTable>>: Freeze,
impl Move for DataPayload
impl RefUnwindSafe for DataPayload
impl Send for DataPayloadwhere
Arc<str>: Send,
Arc<[f64]>: Send,
Arc<[u64]>: Send,
Arc<(RawKey, Arc<str>)>: Send,
Arc<SourceInfo>: Send,
Arc<SourceProjection>: Send,
Arc<[String]>: Send,
Arc<[u32]>: Send,
Arc<KeyValues>: Send,
Arc<[Option<u32>]>: Send,
Arc<[RawKey]>: Send,
Arc<[bool]>: Send,
Arc<[Option<ExactInteger>]>: Send,
Arc<[Option<Date>]>: Send,
Arc<[Option<Timestamp>]>: Send,
Arc<[Option<Duration>]>: Send,
Arc<[Option<f64>]>: Send,
Arc<[Option<u8>]>: Send,
Arc<[Option<bool>]>: Send,
Arc<[Option<RawKey>]>: Send,
Arc<[Option<Color>]>: Send,
Arc<[Option<Text>]>: Send,
Arc<[EstimateStatus]>: Send,
RawVecInner: Send,
Arc<RaincloudData>: Send,
Arc<RaincloudScience>: Send,
Arc<[NamedNumericValues]>: Send,
Arc<[NamedKeyValues]>: Send,
Arc<String>: Send,
Arc<AlphaData>: Send,
Arc<AlphaDeclaration>: Send,
Arc<SelectorTable>: Send,
Arc<BinTable>: Send,
impl Sync for DataPayloadwhere
Arc<str>: Sync,
Arc<[f64]>: Sync,
Arc<[u64]>: Sync,
Arc<(RawKey, Arc<str>)>: Sync,
Arc<SourceInfo>: Sync,
Arc<SourceProjection>: Sync,
Arc<[String]>: Sync,
Arc<[u32]>: Sync,
Arc<KeyValues>: Sync,
Arc<[Option<u32>]>: Sync,
Arc<[RawKey]>: Sync,
Arc<[bool]>: Sync,
Arc<[Option<ExactInteger>]>: Sync,
Arc<[Option<Date>]>: Sync,
Arc<[Option<Timestamp>]>: Sync,
Arc<[Option<Duration>]>: Sync,
Arc<[Option<f64>]>: Sync,
Arc<[Option<u8>]>: Sync,
Arc<[Option<bool>]>: Sync,
Arc<[Option<RawKey>]>: Sync,
Arc<[Option<Color>]>: Sync,
Arc<[Option<Text>]>: Sync,
Arc<[EstimateStatus]>: Sync,
RawVecInner: Sync,
Arc<RaincloudData>: Sync,
Arc<RaincloudScience>: Sync,
Arc<[NamedNumericValues]>: Sync,
Arc<[NamedKeyValues]>: Sync,
Arc<String>: Sync,
Arc<AlphaData>: Sync,
Arc<AlphaDeclaration>: Sync,
Arc<SelectorTable>: Sync,
Arc<BinTable>: Sync,
impl Unpin for DataPayloadwhere
Arc<str>: Unpin,
Arc<[f64]>: Unpin,
Arc<[u64]>: Unpin,
Arc<(RawKey, Arc<str>)>: Unpin,
Arc<SourceInfo>: Unpin,
Arc<SourceProjection>: Unpin,
Arc<[String]>: Unpin,
Arc<[u32]>: Unpin,
Arc<KeyValues>: Unpin,
Arc<[Option<u32>]>: Unpin,
Arc<[RawKey]>: Unpin,
Arc<[bool]>: Unpin,
Arc<[Option<ExactInteger>]>: Unpin,
Arc<[Option<Date>]>: Unpin,
Arc<[Option<Timestamp>]>: Unpin,
Arc<[Option<Duration>]>: Unpin,
Arc<[Option<f64>]>: Unpin,
Arc<[Option<u8>]>: Unpin,
Arc<[Option<bool>]>: Unpin,
Arc<[Option<RawKey>]>: Unpin,
Arc<[Option<Color>]>: Unpin,
Arc<[Option<Text>]>: Unpin,
Arc<[EstimateStatus]>: Unpin,
*const u8 is !null: Unpin,
Arc<RaincloudData>: Unpin,
Arc<RaincloudScience>: Unpin,
Arc<[NamedNumericValues]>: Unpin,
Arc<[NamedKeyValues]>: Unpin,
Arc<String>: Unpin,
Arc<AlphaData>: Unpin,
Arc<AlphaDeclaration>: Unpin,
Arc<SelectorTable>: Unpin,
Arc<BinTable>: Unpin,
impl UnsafeUnpin for DataPayloadwhere
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const ArcInner<[f64]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[f64]>>: UnsafeUnpin,
*const ArcInner<[u64]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u64]>>: UnsafeUnpin,
*const ArcInner<(RawKey, Arc<str>)> is !null: UnsafeUnpin,
PhantomData<ArcInner<(RawKey, Arc<str>)>>: UnsafeUnpin,
*const ArcInner<SourceInfo> is !null: UnsafeUnpin,
PhantomData<ArcInner<SourceInfo>>: UnsafeUnpin,
*const ArcInner<SourceProjection> is !null: UnsafeUnpin,
PhantomData<ArcInner<SourceProjection>>: UnsafeUnpin,
*const ArcInner<[String]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[String]>>: UnsafeUnpin,
*const ArcInner<[u32]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u32]>>: UnsafeUnpin,
*const ArcInner<KeyValues> is !null: UnsafeUnpin,
PhantomData<ArcInner<KeyValues>>: UnsafeUnpin,
*const ArcInner<[Option<u32>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<u32>]>>: UnsafeUnpin,
*const ArcInner<[RawKey]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[RawKey]>>: UnsafeUnpin,
*const ArcInner<[bool]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[bool]>>: UnsafeUnpin,
*const ArcInner<[Option<ExactInteger>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<ExactInteger>]>>: UnsafeUnpin,
*const ArcInner<[Option<Date>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<Date>]>>: UnsafeUnpin,
*const ArcInner<[Option<Timestamp>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<Timestamp>]>>: UnsafeUnpin,
*const ArcInner<[Option<Duration>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<Duration>]>>: UnsafeUnpin,
*const ArcInner<[Option<f64>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<f64>]>>: UnsafeUnpin,
*const ArcInner<[Option<u8>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<u8>]>>: UnsafeUnpin,
*const ArcInner<[Option<bool>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<bool>]>>: UnsafeUnpin,
*const ArcInner<[Option<RawKey>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<RawKey>]>>: UnsafeUnpin,
*const ArcInner<[Option<Color>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<Color>]>>: UnsafeUnpin,
*const ArcInner<[Option<Text>]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[Option<Text>]>>: UnsafeUnpin,
*const ArcInner<[EstimateStatus]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[EstimateStatus]>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<RaincloudData> is !null: UnsafeUnpin,
PhantomData<ArcInner<RaincloudData>>: UnsafeUnpin,
*const ArcInner<RaincloudScience> is !null: UnsafeUnpin,
PhantomData<ArcInner<RaincloudScience>>: UnsafeUnpin,
*const ArcInner<[NamedNumericValues]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[NamedNumericValues]>>: UnsafeUnpin,
*const ArcInner<[NamedKeyValues]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[NamedKeyValues]>>: UnsafeUnpin,
*const ArcInner<String> is !null: UnsafeUnpin,
PhantomData<ArcInner<String>>: UnsafeUnpin,
*const ArcInner<AlphaData> is !null: UnsafeUnpin,
PhantomData<ArcInner<AlphaData>>: UnsafeUnpin,
*const ArcInner<AlphaDeclaration> is !null: UnsafeUnpin,
PhantomData<ArcInner<AlphaDeclaration>>: UnsafeUnpin,
*const ArcInner<SelectorTable> is !null: UnsafeUnpin,
PhantomData<ArcInner<SelectorTable>>: UnsafeUnpin,
*const ArcInner<BinTable> is !null: UnsafeUnpin,
PhantomData<ArcInner<BinTable>>: UnsafeUnpin,
impl UnwindSafe for DataPayloadwhere
Arc<str>: UnwindSafe,
Arc<[f64]>: UnwindSafe,
Arc<[u64]>: UnwindSafe,
Arc<(RawKey, Arc<str>)>: UnwindSafe,
Arc<SourceInfo>: UnwindSafe,
Arc<SourceProjection>: UnwindSafe,
Arc<[String]>: UnwindSafe,
Arc<[u32]>: UnwindSafe,
Arc<KeyValues>: UnwindSafe,
Arc<[Option<u32>]>: UnwindSafe,
Arc<[RawKey]>: UnwindSafe,
Arc<[bool]>: UnwindSafe,
Arc<[Option<ExactInteger>]>: UnwindSafe,
Arc<[Option<Date>]>: UnwindSafe,
Arc<[Option<Timestamp>]>: UnwindSafe,
Arc<[Option<Duration>]>: UnwindSafe,
Arc<[Option<f64>]>: UnwindSafe,
Arc<[Option<u8>]>: UnwindSafe,
Arc<[Option<bool>]>: UnwindSafe,
Arc<[Option<RawKey>]>: UnwindSafe,
Arc<[Option<Color>]>: UnwindSafe,
Arc<[Option<Text>]>: UnwindSafe,
Arc<[EstimateStatus]>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<RaincloudData>: UnwindSafe,
Arc<RaincloudScience>: UnwindSafe,
Arc<[NamedNumericValues]>: UnwindSafe,
Arc<[NamedKeyValues]>: UnwindSafe,
Arc<String>: UnwindSafe,
Arc<AlphaData>: UnwindSafe,
Arc<AlphaDeclaration>: UnwindSafe,
Arc<SelectorTable>: UnwindSafe,
Arc<BinTable>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.