Skip to main content

opt_uuid_to_string

Function opt_uuid_to_string 

Source
pub fn opt_uuid_to_string<S>(
    value: &Option<Uuid>,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,
Expand description

Serializes an optional UUID to a string using serde, using empty string for None