Trait ruma_common::serde::can_be_empty::CanBeEmpty
source · [−]Expand description
Trait for types that have an “empty” state.
If Default
is implemented for Self
, Self::default().is_empty()
should always be true
.
Required Methods
Implementors
impl CanBeEmpty for RoomMemberUnsigned
Available on crate feature
events
only.impl CanBeEmpty for MessageLikeUnsigned
Available on crate feature
events
only.impl CanBeEmpty for RedactedUnsigned
Available on crate feature
events
only.impl<C: StateEventContent> CanBeEmpty for StateUnsigned<C>
Available on crate feature
events
only.