Skip to main content

TypeId

Enum TypeId 

Source
#[repr(u8)]
pub enum TypeId {
Show 66 variants UNKNOWN = 0, BOOL = 1, INT8 = 2, INT16 = 3, INT32 = 4, VARINT32 = 5, INT64 = 6, VARINT64 = 7, TAGGED_INT64 = 8, UINT8 = 9, UINT16 = 10, UINT32 = 11, VAR_UINT32 = 12, UINT64 = 13, VAR_UINT64 = 14, TAGGED_UINT64 = 15, FLOAT8 = 16, FLOAT16 = 17, BFLOAT16 = 18, FLOAT32 = 19, FLOAT64 = 20, STRING = 21, LIST = 22, SET = 23, MAP = 24, ENUM = 25, NAMED_ENUM = 26, STRUCT = 27, COMPATIBLE_STRUCT = 28, NAMED_STRUCT = 29, NAMED_COMPATIBLE_STRUCT = 30, EXT = 31, NAMED_EXT = 32, UNION = 33, TYPED_UNION = 34, NAMED_UNION = 35, NONE = 36, DURATION = 37, TIMESTAMP = 38, DATE = 39, DECIMAL = 40, BINARY = 41, ARRAY = 42, BOOL_ARRAY = 43, INT8_ARRAY = 44, INT16_ARRAY = 45, INT32_ARRAY = 46, INT64_ARRAY = 47, UINT8_ARRAY = 48, UINT16_ARRAY = 49, UINT32_ARRAY = 50, UINT64_ARRAY = 51, FLOAT8_ARRAY = 52, FLOAT16_ARRAY = 53, BFLOAT16_ARRAY = 54, FLOAT32_ARRAY = 55, FLOAT64_ARRAY = 56, U128 = 64, INT128 = 65, USIZE = 66, ISIZE = 67, U128_ARRAY = 68, INT128_ARRAY = 69, USIZE_ARRAY = 70, ISIZE_ARRAY = 71, BOUND = 72,
}

Variants§

§

UNKNOWN = 0

§

BOOL = 1

§

INT8 = 2

§

INT16 = 3

§

INT32 = 4

§

VARINT32 = 5

§

INT64 = 6

§

VARINT64 = 7

§

TAGGED_INT64 = 8

§

UINT8 = 9

§

UINT16 = 10

§

UINT32 = 11

§

VAR_UINT32 = 12

§

UINT64 = 13

§

VAR_UINT64 = 14

§

TAGGED_UINT64 = 15

§

FLOAT8 = 16

§

FLOAT16 = 17

§

BFLOAT16 = 18

§

FLOAT32 = 19

§

FLOAT64 = 20

§

STRING = 21

§

LIST = 22

§

SET = 23

§

MAP = 24

§

ENUM = 25

§

NAMED_ENUM = 26

§

STRUCT = 27

§

COMPATIBLE_STRUCT = 28

§

NAMED_STRUCT = 29

§

NAMED_COMPATIBLE_STRUCT = 30

§

EXT = 31

§

NAMED_EXT = 32

§

UNION = 33

§

TYPED_UNION = 34

§

NAMED_UNION = 35

§

NONE = 36

§

DURATION = 37

§

TIMESTAMP = 38

§

DATE = 39

§

DECIMAL = 40

§

BINARY = 41

§

ARRAY = 42

§

BOOL_ARRAY = 43

§

INT8_ARRAY = 44

§

INT16_ARRAY = 45

§

INT32_ARRAY = 46

§

INT64_ARRAY = 47

§

UINT8_ARRAY = 48

§

UINT16_ARRAY = 49

§

UINT32_ARRAY = 50

§

UINT64_ARRAY = 51

§

FLOAT8_ARRAY = 52

§

FLOAT16_ARRAY = 53

§

BFLOAT16_ARRAY = 54

§

FLOAT32_ARRAY = 55

§

FLOAT64_ARRAY = 56

§

U128 = 64

§

INT128 = 65

§

USIZE = 66

§

ISIZE = 67

§

U128_ARRAY = 68

§

INT128_ARRAY = 69

§

USIZE_ARRAY = 70

§

ISIZE_ARRAY = 71

§

BOUND = 72

Trait Implementations§

Source§

impl Clone for TypeId

Source§

fn clone(&self) -> TypeId

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TypeId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TypeId

Source§

fn eq(&self, other: &TypeId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u8> for TypeId

Source§

type Error = TryFromPrimitiveError<TypeId>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u8) -> Result<TypeId, TryFromPrimitiveError<TypeId>>

Performs the conversion.
Source§

impl TryFromPrimitive for TypeId

Source§

impl Copy for TypeId

Source§

impl StructuralPartialEq for TypeId

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.