Module can_
be_
empty
ruma
0.12.1
Module can_
be_
empty
Module Items
Traits
Functions
In ruma::
serde
Modules
base64
can_be_empty
duration
json_string
single_element_seq
test
Structs
Base64
Base64DecodeError
Raw
Traits
CanBeEmpty
Functions
btreemap_deserialize_v1_powerlevel_values
default_true
deserialize_as_number_or_string
deserialize_as_optional_number_or_string
deserialize_cow_str
deserialize_v1_powerlevel
empty_string_as_none
from_raw_json_value
is_default
is_empty
is_true
json_to_buf
none_as_default
none_as_empty_string
slice_to_buf
Type Aliases
JsonObject
Derive Macros
AsRefStr
AsStrAsRefStr
DebugAsRefStr
DeserializeFromCowStr
DisplayAsRefStr
FromString
OrdAsRefStr
PartialEqAsRefStr
PartialOrdAsRefStr
SerializeAsRefStr
StringEnum
ruma
::
serde
Module
can_be_empty
Copy item path
Settings
Help
Summary
Source
Expand description
Helpers for emptiness checks in
#[serde(skip_serializing_if)]
.
Traits
§
CanBe
Empty
Trait for types that have an “empty” state.
Functions
§
is_
empty
Check whether a value is empty.