Mucus In Stool...or Worms?

I am 23 weeks pregnant, was out and had to use the bathroom. After going, I am not sure if there was mucus in my stool or if it was worms 😑. I wasn't able to get a good look before the auto flush happened. Anyone familiar with mucusy stool during pregnancy? thank you!