The convention is to measure "rise time" from 10% to 90% of the full transition. If that is slew-rate limited, then that would be a good region to measure the time derivative (slew rate).
Note that the slope might not be limited by the slew rate: it could be limited by the slope of the input waveform, or due to the frequency response of the unit under test. This can be checked by changing the amplitude of the waveform: a true slew-rate limited wavform will have a constant slope (and therefore a longer rise time) as the amplitude increases. Of course, at lower amplitude, the slew-rate may no longer be the limiting factor and then the rise time will be constant and the slope will reduce as the amplitude is reduced.
When measuring slew rate on an audio-frequency amplifier, with gain determined by feedback, I drive the input with a sine wave and increase the frequency until I can see a ramp (constant time derivative) section in the output waveform and measure its slope.