You need the namespace: DataFrames.DataFrame(::MyStruct) = ...
DataFrames.DataFrame(::MyStruct) = ...