1031 under the current tax laws only applies to real property (not held primarily for sale) so for there to be no 1250 or 1245 depreciation, you must have traded non-depreciable real property.
for a fuller definition of what is real property is IRS REG1.1031-(a) (3)
https://www.law.cornell.edu/cfr/text/26/1.1031(a)-3