#[repr(i32)]
pub enum DataClass {
Unknown,
Scalar,
Tensor,
BlobSequence,
}
Variants
Unknown
Unknown data class, used (implicitly) for legacy data. Will not be processed by data ingestion pipelines.
Scalar
Scalar time series. Each Value
for the corresponding tag must have
tensor
set to a rank-0 tensor of type DT_FLOAT
(float32).
Tensor
Tensor time series. Each Value
for the corresponding tag must have
tensor
set. The tensor value is arbitrary, but should be small to
accommodate direct storage in database backends: an upper bound of a few
kilobytes is a reasonable rule of thumb.
BlobSequence
Blob sequence time series. Each Value
for the corresponding tag must
have tensor
set to a rank-1 tensor of bytestring dtype.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DataClass
impl<'de> Deserialize<'de> for DataClass
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Ord for DataClass
impl Ord for DataClass
sourceimpl PartialOrd<DataClass> for DataClass
impl PartialOrd<DataClass> for DataClass
sourcefn partial_cmp(&self, other: &DataClass) -> Option<Ordering>
fn partial_cmp(&self, other: &DataClass) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for DataClass
impl Eq for DataClass
impl StructuralEq for DataClass
impl StructuralPartialEq for DataClass
Auto Trait Implementations
impl RefUnwindSafe for DataClass
impl Send for DataClass
impl Sync for DataClass
impl Unpin for DataClass
impl UnwindSafe for DataClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more