Prins Harry uppgav att han är 100 procent redo att tjänstgöra i den brittiska militären om han uppmanas under en nödsituation under ett besök i Lviv.