hello...contact with secretions or excreta of rodents like rats can transmit some zoonotic diseases.If the rat is infected with any bacteria then it can transmit such diseases.In your case it's very difficult to say that how significant contact was and whether rat was infected or not. First advise is not to panic.To be on safer side any kind of minor symptoms appear, please contact nearby Physician or hospital.
Next Steps
If any symptoms appear, contact nearby Physician or hospital.
Health Tips
Keep yourself hydrated Ensure adequate urine output .Do not keep food in and drinking water pots open.Take rodent control measures.