Ensure correct ordering of values in datastore
This commit is contained in:
parent
fd4752aff4
commit
1d66a4772d
1 changed files with 3 additions and 3 deletions
|
@ -105,8 +105,8 @@ pub enum Value {
|
|||
True,
|
||||
Number(Number),
|
||||
Strand(Strand),
|
||||
Datetime(Datetime),
|
||||
Duration(Duration),
|
||||
Datetime(Datetime),
|
||||
Array(Array),
|
||||
Object(Object),
|
||||
Geometry(Geometry),
|
||||
|
@ -867,8 +867,8 @@ impl Serialize for Value {
|
|||
Value::None => s.serialize_unit_variant("Value", 0, "None"),
|
||||
Value::Void => s.serialize_unit_variant("Value", 1, "Void"),
|
||||
Value::Null => s.serialize_unit_variant("Value", 2, "Null"),
|
||||
Value::True => s.serialize_unit_variant("Value", 3, "True"),
|
||||
Value::False => s.serialize_unit_variant("Value", 4, "False"),
|
||||
Value::False => s.serialize_unit_variant("Value", 3, "False"),
|
||||
Value::True => s.serialize_unit_variant("Value", 4, "True"),
|
||||
Value::Number(v) => s.serialize_newtype_variant("Value", 5, "Number", v),
|
||||
Value::Strand(v) => s.serialize_newtype_variant("Value", 6, "Strand", v),
|
||||
Value::Duration(v) => s.serialize_newtype_variant("Value", 7, "Duration", v),
|
||||
|
|
Loading…
Reference in a new issue