clarify the meaning of this comment

This commit is contained in:
Charles Hall 2024-05-16 00:15:24 -07:00
parent bac8b34faf
commit de662a88f5
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -45,8 +45,11 @@ pub(crate) struct PduEvent {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub(crate) unsigned: Option<Box<RawJsonValue>>,
pub(crate) hashes: EventHash,
// The schema of this `RawJsonValue` is `BTreeMap<Box<ServerName>,
// BTreeMap<ServerSigningKeyId, String>>`
#[serde(default, skip_serializing_if = "Option::is_none")]
pub(crate) signatures: Option<Box<RawJsonValue>>, // BTreeMap<Box<ServerName>, BTreeMap<ServerSigningKeyId, String>>
pub(crate) signatures: Option<Box<RawJsonValue>>,
}
impl PduEvent {