mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
clarify the meaning of this comment
This commit is contained in:
parent
bac8b34faf
commit
de662a88f5
1 changed files with 4 additions and 1 deletions
|
|
@ -45,8 +45,11 @@ pub(crate) struct PduEvent {
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||||
pub(crate) unsigned: Option<Box<RawJsonValue>>,
|
pub(crate) unsigned: Option<Box<RawJsonValue>>,
|
||||||
pub(crate) hashes: EventHash,
|
pub(crate) hashes: EventHash,
|
||||||
|
|
||||||
|
// The schema of this `RawJsonValue` is `BTreeMap<Box<ServerName>,
|
||||||
|
// BTreeMap<ServerSigningKeyId, String>>`
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[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 {
|
impl PduEvent {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue