Replace serde_json::Map by BTreeMap
This commit is contained in:
parent
263f2ffc75
commit
ccbf216f39
@ -50,8 +50,8 @@ pub struct RoomV3Pdu {
|
|||||||
pub redacts: Option<EventId>,
|
pub redacts: Option<EventId>,
|
||||||
/// Additional data added by the origin server but not covered by the
|
/// Additional data added by the origin server but not covered by the
|
||||||
/// signatures.
|
/// signatures.
|
||||||
#[serde(default, skip_serializing_if = "serde_json::Map::is_empty")]
|
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
|
||||||
pub unsigned: serde_json::Map<String, JsonValue>,
|
pub unsigned: BTreeMap<String, JsonValue>,
|
||||||
/// Content hashes of the PDU.
|
/// Content hashes of the PDU.
|
||||||
pub hashes: EventHash,
|
pub hashes: EventHash,
|
||||||
/// Signatures for the PDU.
|
/// Signatures for the PDU.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user