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

pub enum ElementType {
    FloatingPoint,
    Utf8String,
    EmbeddedDocument,
    Array,
    Binary,
    Undefined,
    ObjectId,
    Boolean,
    UtcDatetime,
    NullValue,
    RegularExpression,
    DbPointer,
    JavaScriptCode,
    Deprecated,
    JavaScriptCodeWithScope,
    Integer32Bit,
    TimeStamp,
    Integer64Bit,
    MaxKey,
    MinKey,
}

All available BSON element types.

Not all element types are representable by the Bson type.

Variants

Deprecated.

Deprecated.

Methods

impl ElementType
[src]

Attempt to convert from a u8.

Trait Implementations

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 !=.

impl Eq for ElementType
[src]

impl Debug for ElementType
[src]

Formats the value using the given formatter.