def get_structure_from_vasp_immigrant(calc_node):
    """Get structure from VASP immigrant workchain."""
    for lt in calc_node.get_outgoing():
        if "iteration_" in lt.link_label:
            structure = lt.node.inputs.structure
            return structure
    return None