Rex's memory of this personally meaningful, one-time event is known as "Autobiographical Memory".
Autobiographical memory is a memory framework comprising of scenes remembered from a person's life, in light of a blend of long winded (individual encounters and particular articles, individuals and occasions experienced at specific time and place) and semantic (general information and realities about the world) memory.