[−][src]Enum b3_rs::datatypes::KnownType
The B3 standard-defined data types.
The standard-defined data type Complex
(type number 16) is an extended
type, and as such, is found in the KnownExtendedType
enum.
Variants
Type 0 - Reserved, probably permanently unused.
Type 1 - Dictionary-like object.
Identical to CompositeList
on the wire, hints to parser to yield a
dictionary-like object where possible.
Type 2 - List-like object.
Identical to CompositeDict
on the wire, hints to parser to yield a
list-like object where possible.
Type 3 - Array of bytes.
Type 4 - A UTF-8 encoded string.
Type 5 - A boolean.
Type 6 - A signed 64-bit integer.
Type 7 - An unsigned variable length integer.
Type 8 - A signed variable length integer.
Type 9 - A signed 64-bit float.
Type 10 - Arbitrary-precision decimal.
Type 11 - Reserved, currently unused.
Type 12 - Signed 64-bit UNIX nanoseconds.
Type 13 - Local datetime.
YMDHMS plus optional subseconds, offset to UTC, and timezone name.
Type 14 - Reserved, currently unused.
Type 15 - Reserved, used as a marker to signify that there is an
extended data type in a UVarInt
following the item's control byte.
Trait Implementations
impl Clone for KnownType
[src]
impl Copy for KnownType
[src]
impl Debug for KnownType
[src]
impl From<KnownType> for DataType
[src]
impl From<u64> for KnownType
[src]
impl PartialEq<KnownType> for KnownType
[src]
impl StructuralPartialEq for KnownType
[src]
Auto Trait Implementations
impl RefUnwindSafe for KnownType
impl Send for KnownType
impl Sync for KnownType
impl Unpin for KnownType
impl UnwindSafe for KnownType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,