#[repr(i32)]pub enum Types {
Show 18 variants
Double = 1,
String = 2,
Object = 3,
Array = 4,
Binary = 5,
Undefined = 6,
ObjectId = 7,
Boolean = 8,
DateTime = 9,
Null = 10,
Regex = 11,
Reference = 12,
Code = 13,
Symbol = 14,
ScopedCode = 15,
Int32 = 16,
Timestamp = 17,
Int64 = 18,
}Expand description
The element types of BSON, by the byte that precedes an element.
Variants§
Double = 1
String = 2
Object = 3
Array = 4
Binary = 5
Undefined = 6
ObjectId = 7
Boolean = 8
DateTime = 9
Null = 10
Regex = 11
Reference = 12
Code = 13
Symbol = 14
ScopedCode = 15
Int32 = 16
Timestamp = 17
Int64 = 18
Implementations§
Trait Implementations§
impl Copy for Types
impl Eq for Types
impl StructuralPartialEq for Types
Auto Trait Implementations§
impl Freeze for Types
impl RefUnwindSafe for Types
impl Send for Types
impl Sync for Types
impl Unpin for Types
impl UnsafeUnpin for Types
impl UnwindSafe for Types
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more