Function serialize

Source
pub fn serialize<T: FromStringOrInteger, S: Serializer>(
    t: &T,
    s: S,
) -> Result<S::Ok, S::Error>