Consider the function $f:\mathbb{Z} \rightarrow \mathbb{Z} $. Can I think of $f$ as the following 2-tuple $(\mathbb{Z},$ rule to map one integer to another integer$ )? $
And in the above sense, can I think about functions (and in general relations) as a type of mathematical structure?