I'm being given both the rubella and whooping cough vaccine at 36weeks so apparently it has time to pass the placenta and give bub some immunity before his/her own vaccines.