events: Clarify default value of suggested in SpaceChildEventContent

This commit is contained in:
Kévin Commaille 2023-09-13 19:49:00 +02:00 committed by Kévin Commaille
parent 2ad291ceb0
commit ae537afb0d

View File

@ -38,6 +38,8 @@ pub struct SpaceChildEventContent {
/// example by showing them eagerly in the room list. A child which is missing the `suggested`
/// property is treated identically to a child with `"suggested": false`. A suggested child may
/// be a room or a subspace.
///
/// Defaults to `false`.
#[serde(default, skip_serializing_if = "ruma_common::serde::is_default")]
pub suggested: bool,
}