Using fluid structures to encode predictions of glassy dynamics