diff --git a/lib/src/sql/value/value.rs b/lib/src/sql/value/value.rs index f95bc0bf..e19e096f 100644 --- a/lib/src/sql/value/value.rs +++ b/lib/src/sql/value/value.rs @@ -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),