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 Copy for BinarySubtype
[src]
impl Copy for BinarySubtype
impl Clone for BinarySubtype
[src]
impl Clone for BinarySubtype
fn clone(&self) -> BinarySubtype
[src]
fn clone(&self) -> BinarySubtype
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for BinarySubtype
[src]
impl Debug for BinarySubtype
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for BinarySubtype
[src]
impl Eq for BinarySubtype
impl PartialEq for BinarySubtype
[src]
impl PartialEq for BinarySubtype
fn eq(&self, other: &BinarySubtype) -> bool
[src]
fn eq(&self, other: &BinarySubtype) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BinarySubtype) -> bool
[src]
fn ne(&self, other: &BinarySubtype) -> bool
This method tests for !=
.
impl Hash for BinarySubtype
[src]
impl Hash for BinarySubtype
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl From<BinarySubtype> for u8
[src]
impl From<BinarySubtype> for u8
fn from(t: BinarySubtype) -> u8
[src]
fn from(t: BinarySubtype) -> u8
Performs the conversion.
impl From<u8> for BinarySubtype
[src]
impl From<u8> for BinarySubtype
fn from(t: u8) -> BinarySubtype
[src]
fn from(t: u8) -> BinarySubtype
Performs the conversion.
Auto Trait Implementations
impl Send for BinarySubtype
impl Send for BinarySubtype
impl Sync for BinarySubtype
impl Sync for BinarySubtype