Both are held for the full duration of a measure. A whole note
is played for an entire measure, and a whole rest means the
instrument is silent for an entire measure.
View page
Not just in orchestra, but in all music, a whole rest indicates
that no notes are played for an entire measure.