Enum bson::spec::ElementType
[−]
[src]
pub enum ElementType { FloatingPoint, Utf8String, EmbeddedDocument, Array, Binary, Undefined, ObjectId, Boolean, UtcDatetime, NullValue, RegularExpression, DbPointer, JavaScriptCode, Symbol, JavaScriptCodeWithScope, Integer32Bit, TimeStamp, Integer64Bit, MaxKey, MinKey, }
All available BSON element types.
Not all element types are representable by the Bson
type.
Variants
FloatingPoint
Utf8String
EmbeddedDocument
Array
Binary
Undefined
Deprecated.
ObjectId
Boolean
UtcDatetime
NullValue
RegularExpression
DbPointer
Deprecated.
JavaScriptCode
Symbol
Deprecated.
JavaScriptCodeWithScope
Integer32Bit
TimeStamp
Integer64Bit
MaxKey
MinKey
Methods
impl ElementType
[src]
fn from(tag: u8) -> Option<ElementType>
Attempt to convert from a u8
.