pub enum Value {
Show 23 variants
Boolean(bool),
Byte(u8),
Int8(i8),
Uint8(u8),
Int16(i16),
Uint16(u16),
Int32(i32),
Uint32(u32),
Int64(i64),
Uint64(u64),
Float32(f32),
Float64(f64),
Float128(LongDouble),
Char8(u8),
Char16(u16),
String(String),
WString(Vec<u16>),
Length(u32),
Present(bool),
Discriminator(i64),
Enum(i32),
Bitmask(u64),
Bulk(Bulk),
}Expand description
One value of the stream.
Variants§
Boolean(bool)
Byte(u8)
Int8(i8)
Uint8(u8)
Int16(i16)
Uint16(u16)
Int32(i32)
Uint32(u32)
Int64(i64)
Uint64(u64)
Float32(f32)
Float64(f64)
Float128(LongDouble)
Char8(u8)
Char16(u16)
String(String)
WString(Vec<u16>)
Length(u32)
Of a sequence or map.
Present(bool)
Of an optional member.
Discriminator(i64)
Enum(i32)
Bitmask(u64)
Bulk(Bulk)
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Forget for Value
impl Freeze for Valuewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<u16>: Freeze,
PhantomData<bool>: Freeze,
PhantomData<i8>: Freeze,
PhantomData<i16>: Freeze,
PhantomData<i32>: Freeze,
PhantomData<u32>: Freeze,
PhantomData<i64>: Freeze,
PhantomData<u64>: Freeze,
PhantomData<f32>: Freeze,
PhantomData<f64>: Freeze,
impl Move for Value
impl RefUnwindSafe for Value
impl Send for Valuewhere
RawVecInner: Send,
impl Sync for Valuewhere
RawVecInner: Sync,
impl Unpin for Value
impl UnsafeUnpin for Valuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<u16>: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
PhantomData<i8>: UnsafeUnpin,
PhantomData<i16>: UnsafeUnpin,
PhantomData<i32>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<i64>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<f32>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
impl UnwindSafe for Valuewhere
RawVecInner: UnwindSafe,
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