Minecraft wiki entry for structure, associated text: Specifies the storage location.
Must be one of disk and memory.
disk saves the structure to the world itself. When leaving and rejoining the world, the structure save files will still be saved.
memory only saves the structure locally. When leaving and rejoining the world, the structure save files will be gone.