Skip to main content

serialize

Function serialize 

Source
pub fn serialize<T: Display, S: Serializer>(
    v: &Option<T>,
    s: S,
) -> Result<S::Ok, S::Error>
Expand description

Emits the canonical string form, or null when absent.