diff --git a/src/lib.rs b/src/lib.rs index 38f24c8f..b5b5cc41 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -232,14 +232,14 @@ pub struct UnsignedData { /// local time on at least one of the two servers is out of sync, which can /// cause the age to either be negative or greater than it actually is. #[serde(skip_serializing_if = "Option::is_none")] - age: Option, + pub age: Option, /// The event that redacted this event, if any. #[serde(skip_serializing_if = "Option::is_none")] - redacted_because: Option>, + pub redacted_because: Option>, /// The client-supplied transaction ID, if the client being given the event /// is the same one which sent it. #[serde(skip_serializing_if = "Option::is_none")] - transaction_id: Option, + pub transaction_id: Option, } impl UnsignedData {