pub fn serialize_media_for_wire<S>( content: &Vec<MediaType>, serializer: S, ) -> Result<S::Ok, S::Error>where S: Serializer,