Function ruma_common::serde::single_element_seq::serialize
source · [−]pub fn serialize<T, S>(value: &T, serializer: S) -> Result<S::Ok, S::Error> where
T: Serialize,
S: Serializer,
Expand description
Serialize the given value as a list of just that value.