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
FloatingPointUtf8StringEmbeddedDocumentArrayBinaryUndefinedDeprecated.
ObjectIdBooleanUtcDatetimeNullValueRegularExpressionDbPointerDeprecated.
JavaScriptCodeSymbolDeprecated.
JavaScriptCodeWithScopeInteger32BitTimeStampInteger64BitMaxKeyMinKeyMethods
impl ElementType[src]
fn from(tag: u8) -> Option<ElementType>
Attempt to convert from a u8.