Enum bson::spec::ElementType [] [src]

#[repr(u8)]
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

Deprecated.

Deprecated.

Deprecated.

Methods

impl ElementType
[src]

Attempt to convert from a u8.

Trait Implementations

impl Debug for ElementType
[src]

Formats the value using the given formatter.

impl Eq for ElementType
[src]

impl PartialEq for ElementType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.