#[non_exhaustive]pub enum DataValueType {
Show 17 variants
Numeric,
Category,
RawKeys,
Boolean,
Integer,
Date,
Instant,
Duration,
Axis,
Array,
EstimateStatuses,
HistogramKde,
HistogramGeometry,
RaincloudGeometry,
Variables,
KeyColumns,
AlphaEncoding,
}Expand description
Discriminant of the actual native payload, independent of its role.
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
Actual numeric payload.
Category
Actual category payload.
RawKeys
Actual raw_keys payload.
Boolean
Actual boolean payload.
Integer
Actual integer payload.
Date
Actual date payload.
Instant
Actual instant payload.
Duration
Actual duration payload.
Axis
Actual axis payload.
Array
Actual array payload.
EstimateStatuses
Actual estimate_statuses payload.
HistogramKde
Actual histogram_kde payload.
HistogramGeometry
Actual histogram_geometry payload.
RaincloudGeometry
Actual raincloud_geometry payload.
Variables
Actual variables payload.
KeyColumns
Actual key_columns payload.
AlphaEncoding
Actual alpha_encoding payload.
Trait Implementations§
Source§impl Clone for DataValueType
impl Clone for DataValueType
impl Copy for DataValueType
Source§impl Debug for DataValueType
impl Debug for DataValueType
impl Eq for DataValueType
Source§impl Hash for DataValueType
impl Hash for DataValueType
Source§impl PartialEq for DataValueType
impl PartialEq for DataValueType
impl StructuralPartialEq for DataValueType
Auto Trait Implementations§
impl Forget for DataValueType
impl Freeze for DataValueType
impl Move for DataValueType
impl RefUnwindSafe for DataValueType
impl Send for DataValueType
impl Sync for DataValueType
impl Unpin for DataValueType
impl UnsafeUnpin for DataValueType
impl UnwindSafe for DataValueType
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
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,
impl<T> Scalar for T
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.