Enum aldrin_core::ValueKind
source · #[repr(u8)]pub enum ValueKind {
Show 43 variants
None = 0,
Some = 1,
Bool = 2,
U8 = 3,
I8 = 4,
U16 = 5,
I16 = 6,
U32 = 7,
I32 = 8,
U64 = 9,
I64 = 10,
F32 = 11,
F64 = 12,
String = 13,
Uuid = 14,
ObjectId = 15,
ServiceId = 16,
Vec = 17,
Bytes = 18,
U8Map = 19,
I8Map = 20,
U16Map = 21,
I16Map = 22,
U32Map = 23,
I32Map = 24,
U64Map = 25,
I64Map = 26,
StringMap = 27,
UuidMap = 28,
U8Set = 29,
I8Set = 30,
U16Set = 31,
I16Set = 32,
U32Set = 33,
I32Set = 34,
U64Set = 35,
I64Set = 36,
StringSet = 37,
UuidSet = 38,
Struct = 39,
Enum = 40,
Sender = 41,
Receiver = 42,
}
Variants§
None = 0
Some = 1
Bool = 2
U8 = 3
I8 = 4
U16 = 5
I16 = 6
U32 = 7
I32 = 8
U64 = 9
I64 = 10
F32 = 11
F64 = 12
String = 13
Uuid = 14
ObjectId = 15
ServiceId = 16
Vec = 17
Bytes = 18
U8Map = 19
I8Map = 20
U16Map = 21
I16Map = 22
U32Map = 23
I32Map = 24
U64Map = 25
I64Map = 26
StringMap = 27
UuidMap = 28
U8Set = 29
I8Set = 30
U16Set = 31
I16Set = 32
U32Set = 33
I32Set = 34
U64Set = 35
I64Set = 36
StringSet = 37
UuidSet = 38
Struct = 39
Enum = 40
Sender = 41
Receiver = 42
Trait Implementations§
source§impl Ord for ValueKind
impl Ord for ValueKind
source§impl PartialEq for ValueKind
impl PartialEq for ValueKind
source§impl PartialOrd for ValueKind
impl PartialOrd for ValueKind
1.0.0 · source§fn 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 moresource§impl TryFrom<u8> for ValueKind
impl TryFrom<u8> for ValueKind
§type Error = TryFromPrimitiveError<ValueKind>
type Error = TryFromPrimitiveError<ValueKind>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for ValueKind
impl TryFromPrimitive for ValueKind
impl Copy for ValueKind
impl Eq for ValueKind
impl StructuralPartialEq for ValueKind
Auto Trait Implementations§
impl Freeze for ValueKind
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnwindSafe for ValueKind
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