In model theory, a structure (or "model") is typically defined as a set together with some finitary relations and/or operations on that set. For instance, a group can be viewed as a pair $(G,*),$ where $*$ is a binary operation defined on $G$.
Under this definition, can a topological space be viewed as a structure? I would think "no."
Supposing not, my question is this. Short of full-blown categorification, wherein structures become "black-boxes" differentiated only by the morphisms between them, is there a more general definition of structure that encompasses topological spaces, too?
I've put "category-theory" as a tag in the hope of getting more leads.
You can get close if you restrict to compact Hausdorff spaces: these turn out to be precisely sets together with a family of infinitary operations, one for each ultrafilter on every index set $I$. This operation computes the limit with respect to the ultrafilter, the topology is completely determined by limits of ultrafilters, and a continuous function is precisely a function respecting limits of ultrafilters. (This definition makes sense for every topological space, except that a topological space is compact iff ultrafilters always have at least one limit and Hausdorff iff ultrafilters always have at most one limit, hence we get a genuine operation iff the space is compact Hausdorff).
Anyway, you can augment the definition of structure however you want. Topological spaces don't fit into the framework you describe because there's a second set floating around, namely the two-element set $2 = \{ 0, 1 \}$. Functions $X \to 2$ describe subsets of $X$, so a topology on $X$ is a function $(X \to 2) \to 2$ satisfying some axioms. In the end, model theory is nice and all but the categories you get from it are somewhat restricted relative to all of the other wonderful categories out there.