From d837384e5836e3baf81abe8df3761631a32366d2 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 28 Apr 2020 00:30:18 +0200 Subject: [PATCH] Make UnsignedData's fields public --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {