pub fn serialize<S>( fees: &Option<RoutingFees>, serializer: S, ) -> Result<S::Ok, S::Error>where S: Serializer,