pub fn serialize_distance<S>( l: &Option<Length>, s: S ) -> Result<S::Ok, S::Error>where S: Serializer,