bison/bson

Types

pub type Binary {
  MD5(MD5)
  UUID(UUID)
  Custom(Custom)
  Generic(Generic)
}

Constructors

  • MD5(MD5)
  • UUID(UUID)
  • Custom(Custom)
  • Generic(Generic)

if you’re not familiar with type Time, see birl!

pub type Value {
  Min
  Max
  NaN
  Null
  Infinity
  JS(String)
  Int32(Int)
  Int64(Int)
  Double(Float)
  Boolean(Bool)
  Binary(Binary)
  String(String)
  DateTime(Time)
  NegativeInfinity
  Array(List(Value))
  ObjectId(ObjectId)
  Timestamp(Int, Int)
  Regex(String, String)
  Document(Dict(String, Value))
}

Constructors

  • Min
  • Max
  • NaN
  • Null
  • Infinity
  • JS(String)
  • Int32(Int)
  • Int64(Int)
  • Double(Float)
  • Boolean(Bool)
  • Binary(Binary)
  • String(String)
  • DateTime(Time)
  • NegativeInfinity
  • Array(List(Value))
  • ObjectId(ObjectId)
  • Timestamp(Int, Int)
  • Regex(String, String)
  • Document(Dict(String, Value))
Search Document