Superconductivity of one-dimensional metallic structures