Enum bson::spec::BinarySubtype
[−]
[src]
pub enum BinarySubtype { Generic, Function, BinaryOld, UuidOld, Uuid, Md5, UserDefined(u8), }
The available binary subtypes, plus a user-defined slot.
Variants
Generic
Function
BinaryOld
UuidOld
Uuid
Md5
UserDefined(u8)
Trait Implementations
impl PartialEq for BinarySubtype
[src]
fn eq(&self, __arg_0: &BinarySubtype) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BinarySubtype) -> bool
This method tests for !=
.
impl Eq for BinarySubtype
[src]
impl Debug for BinarySubtype
[src]
impl Clone for BinarySubtype
[src]
fn clone(&self) -> BinarySubtype
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for BinarySubtype
[src]
impl From<u8> for BinarySubtype
[src]
fn from(t: u8) -> BinarySubtype
Performs the conversion.