code: function makeStructures(char) {
      let structures = function (id) {
          return new StructureImpl(char, id);
      };
      structures.search = search_1.makeCharacterSearch(char.agent, "structure" /* STRUCTURE */, char.id, char.ssoToken);
      return structures;
  }
docs: Create a new {@link Structures} instance that uses the given character agent
  to make its HTTP requests to the ESI interface.
  
  @param char The character access information
  @returns An Mail API instance