pub type SyncSpaceChildEvent = SyncStateEvent<SpaceChildEventContent>;
Expand description
An m.space.child
event from a sync_events
response.
Aliased Type§
pub enum SyncSpaceChildEvent {
Original(OriginalSyncStateEvent<SpaceChildEventContent>),
Redacted(RedactedSyncStateEvent<RedactedSpaceChildEventContent>),
}
Variants§
Original(OriginalSyncStateEvent<SpaceChildEventContent>)
Original, unredacted form of the event.
Redacted(RedactedSyncStateEvent<RedactedSpaceChildEventContent>)
Redacted form of the event with minimal fields.
Trait Implementations§
Source§impl SpaceChildOrd for SyncSpaceChildEvent
impl SpaceChildOrd for SyncSpaceChildEvent
Source§fn cmp_space_child(&self, other: &impl SpaceChildOrd) -> Ordering
fn cmp_space_child(&self, other: &impl SpaceChildOrd) -> Ordering
Return an
Ordering
between self
and other
, using the algorithm for ordering
children within a space.