Module ruma_serde::can_be_empty[][src]

Expand description

Helpers for emptiness checks in #[serde(skip_serializing_if)].

Traits

CanBeEmpty

Trait for types that have an “empty” state.

Functions

is_empty

Check whether a value is empty.