MatchResult
Represents the result of a successful template match.
A higher score indicates a more specific match. Implementations must ensure that literal segment matches contribute more to the score than variable captures, so that a fully literal template (e.g., users/profile) always outscores a parameterized template (e.g., users/{id}) for the same URI.