Remove unused pub visibility

This commit is contained in:
Jonas Platte 2023-06-14 12:20:15 +02:00
parent f8b9a03272
commit fe2d62a5ee
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C

View File

@ -104,19 +104,19 @@ impl RelatesToJsonRepr {
#[derive(Clone, Deserialize, Serialize)] #[derive(Clone, Deserialize, Serialize)]
struct ThreadStableJsonRepr { struct ThreadStableJsonRepr {
/// The ID of the root message in the thread. /// The ID of the root message in the thread.
pub event_id: OwnedEventId, event_id: OwnedEventId,
/// Whether the `m.in_reply_to` field is a fallback for older clients or a real reply in a /// Whether the `m.in_reply_to` field is a fallback for older clients or a real reply in a
/// thread. /// thread.
#[serde(default, skip_serializing_if = "ruma_common::serde::is_default")] #[serde(default, skip_serializing_if = "ruma_common::serde::is_default")]
pub is_falling_back: bool, is_falling_back: bool,
} }
/// A thread relation without the reply fallback, with unstable names. /// A thread relation without the reply fallback, with unstable names.
#[derive(Clone, Deserialize, Serialize)] #[derive(Clone, Deserialize, Serialize)]
struct ThreadUnstableJsonRepr { struct ThreadUnstableJsonRepr {
/// The ID of the root message in the thread. /// The ID of the root message in the thread.
pub event_id: OwnedEventId, event_id: OwnedEventId,
/// Whether the `m.in_reply_to` field is a fallback for older clients or a real reply in a /// Whether the `m.in_reply_to` field is a fallback for older clients or a real reply in a
/// thread. /// thread.
@ -125,7 +125,7 @@ struct ThreadUnstableJsonRepr {
default, default,
skip_serializing_if = "ruma_common::serde::is_default" skip_serializing_if = "ruma_common::serde::is_default"
)] )]
pub is_falling_back: bool, is_falling_back: bool,
} }
/// A relation, which associates new information to an existing event. /// A relation, which associates new information to an existing event.