The force due to the magnetic field on the wire is:
\[
F_{\text{mag}} = BIL
\]
The weight of the wire is:
\[
F_{\text{weight}} = mg
\]
For the wire to be at rest, the magnetic force must balance the weight of the wire:
\[
BIL = mg
\]
Substitute the values:
\[
1 \times 1 \times L = 0.1 \times 9.8
\]
Solving for \( L \):
\[
L = \frac{0.1 \times 9.8}{1} = 0.98 \, \text{m}
\]
Thus, the length of the wire is approximately 1 m.