#[non_exhaustive]pub enum CanonicalExtensionType {
FixedShapeTensor(FixedShapeTensor),
VariableShapeTensor(VariableShapeTensor),
Json(Json),
Uuid(Uuid),
Opaque(Opaque),
Bool8(Bool8),
}
Expand description
Canonical extension types.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#format-canonical-extensions
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FixedShapeTensor(FixedShapeTensor)
The extension type for FixedShapeTensor
.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#fixed-shape-tensor
VariableShapeTensor(VariableShapeTensor)
The extension type for VariableShapeTensor
.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#variable-shape-tensor
Json(Json)
The extension type for ‘JSON’.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#json
Uuid(Uuid)
The extension type for UUID
.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#uuid
Opaque(Opaque)
The extension type for Opaque
.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#opaque
Bool8(Bool8)
The extension type for Bool8
.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#bit-boolean
Trait Implementations§
Source§impl Clone for CanonicalExtensionType
impl Clone for CanonicalExtensionType
Source§fn clone(&self) -> CanonicalExtensionType
fn clone(&self) -> CanonicalExtensionType
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CanonicalExtensionType
impl Debug for CanonicalExtensionType
Source§impl From<Bool8> for CanonicalExtensionType
impl From<Bool8> for CanonicalExtensionType
Source§impl From<FixedShapeTensor> for CanonicalExtensionType
impl From<FixedShapeTensor> for CanonicalExtensionType
Source§fn from(value: FixedShapeTensor) -> Self
fn from(value: FixedShapeTensor) -> Self
Source§impl From<Json> for CanonicalExtensionType
impl From<Json> for CanonicalExtensionType
Source§impl From<Opaque> for CanonicalExtensionType
impl From<Opaque> for CanonicalExtensionType
Source§impl From<Uuid> for CanonicalExtensionType
impl From<Uuid> for CanonicalExtensionType
Source§impl From<VariableShapeTensor> for CanonicalExtensionType
impl From<VariableShapeTensor> for CanonicalExtensionType
Source§fn from(value: VariableShapeTensor) -> Self
fn from(value: VariableShapeTensor) -> Self
Source§impl PartialEq for CanonicalExtensionType
impl PartialEq for CanonicalExtensionType
Source§fn eq(&self, other: &CanonicalExtensionType) -> bool
fn eq(&self, other: &CanonicalExtensionType) -> bool
self
and other
values to be equal, and is used by ==
.