#[repr(u8)]pub enum TLType {
Show 23 variants
Null = 0,
Bool = 1,
Int8 = 2,
Int16 = 3,
Int32 = 4,
Int64 = 5,
UInt8 = 6,
UInt16 = 7,
UInt32 = 8,
UInt64 = 9,
Float32 = 10,
Float64 = 11,
String = 16,
Bytes = 17,
JsonNumber = 18,
Array = 32,
Object = 33,
Struct = 34,
Map = 35,
Tuple = 36,
Ref = 48,
Tagged = 49,
Timestamp = 50,
}Variants§
Null = 0
Bool = 1
Int8 = 2
Int16 = 3
Int32 = 4
Int64 = 5
UInt8 = 6
UInt16 = 7
UInt32 = 8
UInt64 = 9
Float32 = 10
Float64 = 11
String = 16
Bytes = 17
JsonNumber = 18
Array = 32
Object = 33
Struct = 34
Map = 35
Tuple = 36
Ref = 48
Tagged = 49
Timestamp = 50
Trait Implementations§
impl Copy for TLType
impl Eq for TLType
impl StructuralPartialEq for TLType
Auto Trait Implementations§
impl Freeze for TLType
impl RefUnwindSafe for TLType
impl Send for TLType
impl Sync for TLType
impl Unpin for TLType
impl UnwindSafe for TLType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.