events: Clarify default value of suggested in SpaceChildEventContent
This commit is contained in:
parent
2ad291ceb0
commit
ae537afb0d
@ -38,6 +38,8 @@ pub struct SpaceChildEventContent {
|
|||||||
/// example by showing them eagerly in the room list. A child which is missing the `suggested`
|
/// 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
|
/// property is treated identically to a child with `"suggested": false`. A suggested child may
|
||||||
/// be a room or a subspace.
|
/// be a room or a subspace.
|
||||||
|
///
|
||||||
|
/// Defaults to `false`.
|
||||||
#[serde(default, skip_serializing_if = "ruma_common::serde::is_default")]
|
#[serde(default, skip_serializing_if = "ruma_common::serde::is_default")]
|
||||||
pub suggested: bool,
|
pub suggested: bool,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user