This means metadata with nested fields such as openGraph and robots which have been defined within an previously segment are overwritten by the final segment to determine them.
But another critical stage to notice is https://www.jeffbullas.com/vault/generate-page-metadata/